diff --git a/tests/unit_tests/FGInitialConditionTest.h b/tests/unit_tests/FGInitialConditionTest.h index 71c8033a6..0e6606d04 100644 --- a/tests/unit_tests/FGInitialConditionTest.h +++ b/tests/unit_tests/FGInitialConditionTest.h @@ -52,7 +52,7 @@ class FGInitialConditionTest : public CxxTest::TestSuite TS_ASSERT_EQUALS(ic.GetBetaDegIC(), 0.0); TS_ASSERT_EQUALS(ic.GetBetaDegIC(), 0.0); TS_ASSERT_EQUALS(ic.GetBetaRadIC(), 0.0); - TS_ASSERT_EQUALS(ic.GetWindFpsIC(), 0.0); + TS_ASSERT_EQUALS(ic.GetWindMagFpsIC(), 0.0); TS_ASSERT_EQUALS(ic.GetWindDirDegIC(), 0.0); TS_ASSERT_EQUALS(ic.GetWindUFpsIC(), 0.0); TS_ASSERT_EQUALS(ic.GetWindVFpsIC(), 0.0); @@ -356,10 +356,10 @@ class FGInitialConditionTest : public CxxTest::TestSuite TS_ASSERT_DELTA(ic.GetWindNFpsIC(), 1.0, epsilon); TS_ASSERT_DELTA(ic.GetWindEFpsIC(), 2.0, epsilon); TS_ASSERT_DELTA(ic.GetWindDFpsIC(), 3.0, epsilon); - TS_ASSERT_DELTA(ic.GetWindFpsIC(), sqrt(5.0), epsilon); + TS_ASSERT_DELTA(ic.GetWindMagFpsIC(), sqrt(5.0), epsilon); TS_ASSERT_DELTA(ic.GetWindDirDegIC(), atan2(2.0, 1.0)*180./M_PI, epsilon); - double mag = ic.GetWindFpsIC(); + double mag = ic.GetWindMagFpsIC(); ic.SetWindDirDegIC(30.); TS_ASSERT_DELTA(ic.GetWindNFpsIC(), 0.5*mag*sqrt(3.0), epsilon); TS_ASSERT_DELTA(ic.GetWindEFpsIC(), 0.5*mag, epsilon);