Searched refs:TEST_EXPECT_NEAR (Results 1 – 2 of 2) sorted by relevance
/system/media/audio_utils/tests/ |
D | statistics_tests.cpp | 108 #define TEST_EXPECT_NEAR(e, v) \ macro 122 TEST_EXPECT_NEAR(ref, value); \ 130 TEST_EXPECT_NEAR(refstat.getWeight(), stat.getWeight()); in verify() 131 TEST_EXPECT_NEAR(refstat.getMean(), stat.getMean()); in verify() 132 TEST_EXPECT_NEAR(refstat.getVariance(), stat.getVariance()); in verify() 133 TEST_EXPECT_NEAR(refstat.getStdDev(), stat.getStdDev()); in verify() 134 TEST_EXPECT_NEAR(refstat.getPopVariance(), stat.getPopVariance()); in verify() 135 TEST_EXPECT_NEAR(refstat.getPopStdDev(), stat.getPopStdDev()); in verify() 477 TEST_EXPECT_NEAR(1.9, fit.getYFromX(0.2)); in TEST() 478 TEST_EXPECT_NEAR(0.2, fit.getXFromY(1.9)); in TEST() [all …]
|
D | variadic_tests.cpp | 27 #define TEST_EXPECT_NEAR(e, v) \ macro 41 TEST_EXPECT_NEAR(ref, value); \
|