/external/webrtc/webrtc/common_audio/ |
D | window_generator_unittest.cc | 25 ASSERT_NEAR(window[0], 0.707106f, 1e-6f); in TEST() 26 ASSERT_NEAR(window[1], 0.707106f, 1e-6f); in TEST() 27 ASSERT_NEAR(window[2], 0.0f, 1e-6f); in TEST() 28 ASSERT_NEAR(window[3], 0.0f, 1e-6f); in TEST() 29 ASSERT_NEAR(window[4], 0.0f, 1e-6f); in TEST() 30 ASSERT_NEAR(window[5], 0.0f, 1e-6f); in TEST() 31 ASSERT_NEAR(window[6], 0.0f, 1e-6f); in TEST() 34 ASSERT_NEAR(window[0], 0.598066f, 1e-6f); in TEST() 35 ASSERT_NEAR(window[1], 0.922358f, 1e-6f); in TEST() 36 ASSERT_NEAR(window[2], 0.598066f, 1e-6f); in TEST() [all …]
|
D | lapped_transform_unittest.cc | 62 ASSERT_NEAR(in_block[0][0].real(), static_cast<float>(full_length), in ProcessAudioBlock() 64 ASSERT_NEAR(in_block[0][0].imag(), 0.0f, 1e-5f); in ProcessAudioBlock() 66 ASSERT_NEAR(in_block[0][i].real(), 0.0f, 1e-5f); in ProcessAudioBlock() 67 ASSERT_NEAR(in_block[0][i].imag(), 0.0f, 1e-5f); in ProcessAudioBlock() 123 ASSERT_NEAR(out_chunk[i][j], 2.0f, 1e-5f); in TEST() 153 ASSERT_NEAR(out_chunk[i], in TEST()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | range_sampler_test.cc | 123 ASSERT_NEAR(sampler_->Probability(i), 0.05, 1e-4); in TEST_F() 131 ASSERT_NEAR(sampler_->Probability(i), (i + 1) / 55.0, 1e-4); in TEST_F() 163 ASSERT_NEAR(sampler_->Probability(i), pow(2, i * 0.8) / 197.05, 1e-4); in TEST_F() 186 ASSERT_NEAR(sampler_->Probability(0), 0, 1e-4); in TEST_F() 189 ASSERT_NEAR(sampler_->Probability(i), pow(2, (i - 1) * 0.8) / 197.05, 1e-4); in TEST_F() 197 ASSERT_NEAR(sampler_->Probability(0), 0, 1e-4); in TEST_F() 198 ASSERT_NEAR(sampler_->Probability(1), 0, 1e-4); in TEST_F() 201 ASSERT_NEAR(sampler_->Probability(i), pow(2, (i - 2) * 0.8) / 197.05, 1e-4); in TEST_F() 209 ASSERT_NEAR(sampler_->Probability(i), pow(2, i * 0.8) / 197.05, 1e-4); in TEST_F() 225 ASSERT_NEAR(sampler_->Probability(0), 0, 1e-4); in TEST_F() [all …]
|
D | debug_ops_test.cc | 391 ASSERT_NEAR(1.0, output[0], 1e-8); // Is initialized. in TEST_F() 392 ASSERT_NEAR(9.0, output[1], 1e-8); // Total element count. in TEST_F() 393 ASSERT_NEAR(4.0, output[2], 1e-8); // nan count. in TEST_F() 394 ASSERT_NEAR(2.0, output[3], 1e-8); // -inf count. in TEST_F() 395 ASSERT_NEAR(0.0, output[4], 1e-8); // negative count (excluding -inf). in TEST_F() 396 ASSERT_NEAR(0.0, output[5], 1e-8); // zero count. in TEST_F() 397 ASSERT_NEAR(0.0, output[6], 1e-8); // positive count (excluding +inf). in TEST_F() 398 ASSERT_NEAR(3.0, output[7], 1e-8); // +inf count. in TEST_F()
|
D | spectrogram_test.cc | 165 ASSERT_NEAR(real(expected[i][j]), real(actual[i][j]), tolerance) in CompareComplexData() 167 ASSERT_NEAR(imag(expected[i][j]), imag(actual[i][j]), tolerance) in CompareComplexData() 198 ASSERT_NEAR(norm(expected_complex_output[i][j]), in CompareMagnitudeData()
|
D | quantization_utils_test.cc | 422 ASSERT_NEAR(expected, actual, range * 1.1e-7) in TestQuantizedToFloatInPlaceUsingEigen()
|
/external/webrtc/webrtc/modules/audio_processing/agc/ |
D | histogram_unittest.cc | 83 ASSERT_NEAR(audio_content, io.audio_content, abs_err); in RunTest() 87 ASSERT_NEAR(current_loudness, io.loudness, abs_err); in RunTest()
|
/external/tensorflow/tensorflow/core/framework/ |
D | run_handler_util_test.cc | 61 ASSERT_NEAR(end[i] - start[i], thread_demand, 1.0) in VerifyFunction()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | audio_decoder_unittest.cc | 54 ASSERT_NEAR(input[n], output[channels * n + delay], tolerance) in CompareInputOutput() 71 ASSERT_NEAR(output[channels * n], output[channels * n + 1], tolerance) in CompareTwoChannels()
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_unittest.cc | 3010 TEST_F(FloatTest, ASSERT_NEAR) { in TEST_F() argument 3011 ASSERT_NEAR(-1.0f, -1.1f, 0.2f); in TEST_F() 3012 ASSERT_NEAR(2.0f, 3.0f, 1.0f); in TEST_F() 3013 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0f,1.5f, 0.25f), // NOLINT in TEST_F() 3182 TEST_F(DoubleTest, ASSERT_NEAR) { in TEST_F() argument 3183 ASSERT_NEAR(-1.0, -1.1, 0.2); in TEST_F() 3184 ASSERT_NEAR(2.0, 3.0, 1.0); in TEST_F() 3185 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0, 1.5, 0.25), // NOLINT in TEST_F() 4321 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1,1.2, 0.1) << "Expect failure.", // NOLINT in TEST()
|
/external/googletest/googletest/test/ |
D | gtest_unittest.cc | 2945 TEST_F(FloatTest, ASSERT_NEAR) { in TEST_F() argument 2946 ASSERT_NEAR(-1.0f, -1.1f, 0.2f); in TEST_F() 2947 ASSERT_NEAR(2.0f, 3.0f, 1.0f); in TEST_F() 2948 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0f,1.5f, 0.25f), // NOLINT in TEST_F() 3098 TEST_F(DoubleTest, ASSERT_NEAR) { in TEST_F() argument 3099 ASSERT_NEAR(-1.0, -1.1, 0.2); in TEST_F() 3100 ASSERT_NEAR(2.0, 3.0, 1.0); in TEST_F() 3101 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0, 1.5, 0.25), // NOLINT in TEST_F() 4327 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1,1.2, 0.1) << "Expect failure.", // NOLINT in TEST()
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
D | gtest.h | 1975 #define ASSERT_NEAR(val1, val2, abs_error)\ macro
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest.h | 1975 #define ASSERT_NEAR(val1, val2, abs_error)\ macro
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/ |
D | gtest.h | 1973 #define ASSERT_NEAR(val1, val2, abs_error)\ macro
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest.h | 2047 #define ASSERT_NEAR(val1, val2, abs_error)\ macro
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/ |
D | gtest.h | 2047 #define ASSERT_NEAR(val1, val2, abs_error)\ macro
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest.h | 2047 #define ASSERT_NEAR(val1, val2, abs_error)\ macro
|
/external/googletest/googletest/include/gtest/ |
D | gtest.h | 2138 #define ASSERT_NEAR(val1, val2, abs_error)\ macro
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest.h | 2088 #define ASSERT_NEAR(val1, val2, abs_error)\ macro
|
/external/googletest/googletest/docs/ |
D | advanced.md | 355 | `ASSERT_NEAR(val1, val2, abs_error);` | `EXPECT_NEAR(val1, val2, abs_error);` | the difference be…
|
/external/epid-sdk/ext/gtest/ |
D | gtest.h | 21014 #define ASSERT_NEAR(val1, val2, abs_error)\
|