Home
last modified time | relevance | path

Searched refs:PRINT_AND_EXPECT_NEAR (Results 1 – 2 of 2) sorted by relevance

/system/media/audio_utils/tests/
Dstatistics_tests.cpp118 #define PRINT_AND_EXPECT_NEAR(expected, expr) { \ macro
275 PRINT_AND_EXPECT_NEAR(sqrt(std::numeric_limits<double>::epsilon()), in TEST()
297 PRINT_AND_EXPECT_NEAR(sqrtf(std::numeric_limits<float>::epsilon()), in TEST()
419 PRINT_AND_EXPECT_NEAR(std::get<1>(stat_outer.getPopVariance()), in TEST()
423 PRINT_AND_EXPECT_NEAR(std::get<0>(stat_outer.getPopVariance()), in TEST()
425 PRINT_AND_EXPECT_NEAR(std::get<1>(stat_outer.getPopVariance()), in TEST()
427 PRINT_AND_EXPECT_NEAR(std::get<3>(stat_outer.getPopVariance()), in TEST()
460 PRINT_AND_EXPECT_NEAR(1.5, a); // y intercept in TEST()
461 PRINT_AND_EXPECT_NEAR(2.0, b); // y slope in TEST()
462 PRINT_AND_EXPECT_NEAR(1.0, r2); // correlation coefficient. in TEST()
[all …]
Dvariadic_tests.cpp37 #define PRINT_AND_EXPECT_NEAR(expected, expr) { \ macro