Home
last modified time | relevance | path

Searched refs:SG_CHECK_EQUAL_EP (Results 1 – 5 of 5) sorted by relevance

/dports/devel/simgear/simgear-2020.3.11/simgear/misc/
H A Dstrutils_test.cxx598 SG_CHECK_EQUAL_EP(strutils::readTime(""), 0.0); in test_readTime()
600 SG_CHECK_EQUAL_EP(strutils::readTime("11"), 11.0); in test_readTime()
601 SG_CHECK_EQUAL_EP(strutils::readTime("+11"), 11.0); in test_readTime()
613 SG_CHECK_EQUAL_EP(strutils::readTime("0:0:0"), 0); in test_readTime()
642 SG_CHECK_EQUAL_EP(a.getLongitudeDeg(), -3.0); in test_parseGeod()
643 SG_CHECK_EQUAL_EP(a.getLatitudeDeg(), 56.12); in test_parseGeod()
652 SG_CHECK_EQUAL_EP(a.getLongitudeDeg(), -3.0); in test_parseGeod()
653 SG_CHECK_EQUAL_EP(a.getLatitudeDeg(), 56.12); in test_parseGeod()
658 SG_CHECK_EQUAL_EP(a.getLatitudeDeg(), -40.5138888); in test_parseGeod()
667 SG_CHECK_EQUAL_EP(a.getLongitudeDeg(), -12.576); in test_parseGeod()
[all …]
H A Dtest_macros.hxx50 #define SG_CHECK_EQUAL_EP(a, b) SG_CHECK_EQUAL_EP0((a), (b), true, (a), (b)) macro
/dports/devel/simgear/simgear-2020.3.11/simgear/structure/
H A Dsubsystem_test.cxx269 SG_CHECK_EQUAL_EP(0.5, radio1->lastUpdateTime); in testSubGrouping()
270 SG_CHECK_EQUAL_EP(0.5, radio2->lastUpdateTime); in testSubGrouping()
288 SG_CHECK_EQUAL_EP(1.0, radio1->lastUpdateTime); in testSubGrouping()
291 SG_CHECK_EQUAL_EP(0.5, radio2->lastUpdateTime); in testSubGrouping()
391 SG_CHECK_EQUAL_EP(1.0, anotherSub->lastUpdateTime); in testSuspendResume()
393 SG_CHECK_EQUAL_EP(1.0, radio1->lastUpdateTime); in testSuspendResume()
404 SG_CHECK_EQUAL_EP(1.0, anotherSub->lastUpdateTime); in testSuspendResume()
406 SG_CHECK_EQUAL_EP(0.5, radio1->lastUpdateTime); in testSuspendResume()
424 SG_CHECK_EQUAL_EP(0.5, radio1->lastUpdateTime); in testSuspendResume()
438 SG_CHECK_EQUAL_EP(5.0, radio1->lastUpdateTime); in testSuspendResume()
[all …]
/dports/devel/simgear/simgear-2020.3.11/simgear/bucket/
H A Dtest_bucket.cxx142 SG_CHECK_EQUAL_EP(b1.get_highest_lat(), 90.0); in testPolar()
143 SG_CHECK_EQUAL_EP(b1.get_width_m(), 10.0); in testPolar()
154 SG_CHECK_EQUAL_EP(actualNorthPole1.getLatitudeDeg(), 90.0); in testPolar()
155 SG_CHECK_EQUAL_EP(actualNorthPole1.getLongitudeDeg(), 12.0); in testPolar()
156 SG_CHECK_EQUAL_EP(actualNorthPole2.getLatitudeDeg(), 90.0); in testPolar()
157 SG_CHECK_EQUAL_EP(actualNorthPole2.getLongitudeDeg(), 0.0); in testPolar()
172 SG_CHECK_EQUAL_EP(b5.get_highest_lat(), -90.0); in testPolar()
173 SG_CHECK_EQUAL_EP(b5.get_width_m(), 10.0); in testPolar()
177 SG_CHECK_EQUAL_EP(actualSouthPole1.getLatitudeDeg(), -90.0); in testPolar()
178 SG_CHECK_EQUAL_EP(actualSouthPole1.getLongitudeDeg(), -180); in testPolar()
[all …]
/dports/devel/simgear/simgear-2020.3.11/simgear/environment/
H A Dtest_precipitation.cxx49 SG_CHECK_EQUAL_EP(_rain_intensity, 0.0f); in test_configuration()
50 SG_CHECK_EQUAL_EP(_snow_intensity, 0.0f); in test_configuration()
189 SG_CHECK_EQUAL_EP(_precipitationEffect->getParticleSize(), 0.01f); in test_no_precipitation()
190 SG_CHECK_EQUAL_EP(_precipitationEffect->getParticleSpeed(), -2.0f); in test_no_precipitation()
198 SG_CHECK_EQUAL_EP(_illumination, 0.87f); in test_illumination()
204 SG_CHECK_EQUAL_EP(_clip_distance, 6.5f); in test_clipping()