Comparison between integral equation method and molecular dynamics simulation for three-body forces: Application to supercritical argon