/external/grpc-grpc/test/core/iomgr/ |
D | time_averaged_stats_test.cc | 27 #define EXPECT_DOUBLE_EQ(a, b) GPR_ASSERT(fabs((a) - (b)) < 1e-9) macro 32 EXPECT_DOUBLE_EQ(1000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_1() 33 EXPECT_DOUBLE_EQ(0, tas.aggregate_total_weight); in no_regress_no_persist_test_1() 37 EXPECT_DOUBLE_EQ(1000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_1() 38 EXPECT_DOUBLE_EQ(0, tas.aggregate_total_weight); in no_regress_no_persist_test_1() 43 EXPECT_DOUBLE_EQ(2000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_1() 44 EXPECT_DOUBLE_EQ(1, tas.aggregate_total_weight); in no_regress_no_persist_test_1() 50 EXPECT_DOUBLE_EQ(1000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_2() 54 EXPECT_DOUBLE_EQ(2000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_2() 55 EXPECT_DOUBLE_EQ(1, tas.aggregate_total_weight); in no_regress_no_persist_test_2() [all …]
|
/external/webrtc/webrtc/base/ |
D | ratetracker_unittest.cc | 36 EXPECT_DOUBLE_EQ(30.0, tracker.ComputeRateForInterval(50000u)); in TEST() 49 EXPECT_DOUBLE_EQ(60.0, tracker.ComputeRateForInterval(1000u)); in TEST() 54 EXPECT_DOUBLE_EQ(0.0, tracker.ComputeRateForInterval(1000u)); in TEST() 60 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeRateForInterval(1000u)); in TEST() 61 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeRate()); in TEST() 63 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeTotalRate()); in TEST() 68 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeRateForInterval(1000u)); in TEST() 69 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeRate()); in TEST() 71 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeTotalRate()); in TEST() 76 EXPECT_DOUBLE_EQ(1234.0 * 2.0, tracker.ComputeRateForInterval(1000u)); in TEST() [all …]
|
D | rollingaccumulator_unittest.cc | 26 EXPECT_DOUBLE_EQ(0.0, accum.ComputeMean()); in TEST() 27 EXPECT_DOUBLE_EQ(0.0, accum.ComputeVariance()); in TEST() 40 EXPECT_DOUBLE_EQ(1.5, accum.ComputeMean()); in TEST() 42 EXPECT_DOUBLE_EQ(1.25, accum.ComputeVariance()); in TEST() 55 EXPECT_DOUBLE_EQ(6.5, accum.ComputeMean()); in TEST() 69 EXPECT_DOUBLE_EQ(100.0, accum.ComputeMean()); in TEST() 82 EXPECT_DOUBLE_EQ(2.0, accum.ComputeMean()); in TEST() 94 EXPECT_DOUBLE_EQ(875.0, accum.ComputeSum()); in TEST() 95 EXPECT_DOUBLE_EQ(87.5, accum.ComputeMean()); in TEST() 98 EXPECT_DOUBLE_EQ(65.0, accum.ComputeMin()); in TEST() [all …]
|
D | profiler_unittest.cc | 48 EXPECT_DOUBLE_EQ(event->mean(), event->total_time() / event->event_count()); in TEST() 99 EXPECT_DOUBLE_EQ(event1->mean(), in TEST()
|
/external/libcxx/utils/google-benchmark/test/ |
D | statistics_gtest.cc | 10 EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({42, 42, 42, 42}), 42.0); in TEST() 11 EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({1, 2, 3, 4}), 2.5); in TEST() 12 EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({1, 2, 5, 10, 10, 14}), 7.0); in TEST() 16 EXPECT_DOUBLE_EQ(benchmark::StatisticsMedian({42, 42, 42, 42}), 42.0); in TEST() 17 EXPECT_DOUBLE_EQ(benchmark::StatisticsMedian({1, 2, 3, 4}), 2.5); in TEST() 18 EXPECT_DOUBLE_EQ(benchmark::StatisticsMedian({1, 2, 5, 10, 10}), 5.0); in TEST() 22 EXPECT_DOUBLE_EQ(benchmark::StatisticsStdDev({101, 101, 101, 101}), 0.0); in TEST() 23 EXPECT_DOUBLE_EQ(benchmark::StatisticsStdDev({1, 2, 3}), 1.0); in TEST()
|
/external/google-benchmark/test/ |
D | statistics_gtest.cc | 10 EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({42, 42, 42, 42}), 42.0); in TEST() 11 EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({1, 2, 3, 4}), 2.5); in TEST() 12 EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({1, 2, 5, 10, 10, 14}), 7.0); in TEST() 16 EXPECT_DOUBLE_EQ(benchmark::StatisticsMedian({42, 42, 42, 42}), 42.0); in TEST() 17 EXPECT_DOUBLE_EQ(benchmark::StatisticsMedian({1, 2, 3, 4}), 2.5); in TEST() 18 EXPECT_DOUBLE_EQ(benchmark::StatisticsMedian({1, 2, 5, 10, 10}), 5.0); in TEST() 22 EXPECT_DOUBLE_EQ(benchmark::StatisticsStdDev({101, 101, 101, 101}), 0.0); in TEST() 23 EXPECT_DOUBLE_EQ(benchmark::StatisticsStdDev({1, 2, 3}), 1.0); in TEST()
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | file_utils_unittest.cc | 88 EXPECT_DOUBLE_EQ(kPi, value); in TEST_F() 91 EXPECT_DOUBLE_EQ(kE, value); in TEST_F() 94 EXPECT_DOUBLE_EQ(kAvogadro, value); in TEST_F() 201 EXPECT_DOUBLE_EQ(11544, buffer[0]); in TEST_F() 202 EXPECT_DOUBLE_EQ(22377, buffer[4]); in TEST_F() 203 EXPECT_DOUBLE_EQ(16389, buffer[7]); in TEST_F() 204 EXPECT_DOUBLE_EQ(17631, buffer[kBufferLength - 1]); in TEST_F() 217 EXPECT_DOUBLE_EQ(11544, buffer[0]); in TEST_F() 218 EXPECT_DOUBLE_EQ(22377, buffer[4]); in TEST_F() 219 EXPECT_DOUBLE_EQ(16389, buffer[7]); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | vad_circular_buffer_unittest.cc | 53 EXPECT_DOUBLE_EQ(0.0, mean_val); in TEST() 62 EXPECT_DOUBLE_EQ((kShortBuffSize + 1.) / 2., mean_val); in TEST() 69 EXPECT_DOUBLE_EQ(0, mean_val); in TEST() 86 EXPECT_DOUBLE_EQ(k * push_val / kLongBuffSize, mean_val); in TEST() 89 EXPECT_DOUBLE_EQ(0, mean_val); in TEST() 106 EXPECT_DOUBLE_EQ(num_non_zero_elements * push_val / kLongBuffSize, mean_val); in TEST() 111 EXPECT_DOUBLE_EQ(num_non_zero_elements * push_val / kLongBuffSize, mean_val); in TEST() 121 EXPECT_DOUBLE_EQ(num_non_zero_elements * push_val / kLongBuffSize, mean_val); in TEST() 130 EXPECT_DOUBLE_EQ(num_non_zero_elements * push_val / kLongBuffSize, mean_val); in TEST()
|
/external/pdfium/fxjs/ |
D | cjs_publicmethods_embeddertest.cpp | 34 EXPECT_DOUBLE_EQ(-47865600000, date); in TEST_F() 42 EXPECT_DOUBLE_EQ(-47865600000, date); in TEST_F() 50 EXPECT_DOUBLE_EQ(-47865600000, date); in TEST_F() 58 EXPECT_DOUBLE_EQ(504835200000.0, date); in TEST_F() 66 EXPECT_DOUBLE_EQ(3660595200000.0, date); in TEST_F() 74 EXPECT_DOUBLE_EQ(791596800000.0, date); in TEST_F() 82 EXPECT_DOUBLE_EQ(3947356800000.0, date); in TEST_F() 90 EXPECT_DOUBLE_EQ(1107216000000.0, date); in TEST_F() 98 EXPECT_DOUBLE_EQ(1107216000000.0, date); in TEST_F()
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer_unittest.cc | 758 EXPECT_DOUBLE_EQ(1 , Tokenizer::ParseFloat("1.")); in TEST_F() 759 EXPECT_DOUBLE_EQ(1e3 , Tokenizer::ParseFloat("1e3")); in TEST_F() 760 EXPECT_DOUBLE_EQ(1e3 , Tokenizer::ParseFloat("1E3")); in TEST_F() 761 EXPECT_DOUBLE_EQ(1.5e3, Tokenizer::ParseFloat("1.5e3")); in TEST_F() 762 EXPECT_DOUBLE_EQ(.1 , Tokenizer::ParseFloat(".1")); in TEST_F() 763 EXPECT_DOUBLE_EQ(.25 , Tokenizer::ParseFloat(".25")); in TEST_F() 764 EXPECT_DOUBLE_EQ(.1e3 , Tokenizer::ParseFloat(".1e3")); in TEST_F() 765 EXPECT_DOUBLE_EQ(.25e3, Tokenizer::ParseFloat(".25e3")); in TEST_F() 766 EXPECT_DOUBLE_EQ(.1e+3, Tokenizer::ParseFloat(".1e+3")); in TEST_F() 767 EXPECT_DOUBLE_EQ(.1e-3, Tokenizer::ParseFloat(".1e-3")); in TEST_F() [all …]
|
/external/libbrillo/brillo/ |
D | flag_helper_unittest.cc | 60 EXPECT_DOUBLE_EQ(FLAGS_double_1, -100.5); in TEST_F() 61 EXPECT_DOUBLE_EQ(FLAGS_double_2, 0); in TEST_F() 62 EXPECT_DOUBLE_EQ(FLAGS_double_3, 100.5); in TEST_F() 124 EXPECT_DOUBLE_EQ(FLAGS_double_1, -100.5); in TEST_F() 125 EXPECT_DOUBLE_EQ(FLAGS_double_2, 0); in TEST_F() 126 EXPECT_DOUBLE_EQ(FLAGS_double_3, 100.5); in TEST_F() 182 EXPECT_DOUBLE_EQ(FLAGS_double_1, -100.5); in TEST_F() 183 EXPECT_DOUBLE_EQ(FLAGS_double_2, 0); in TEST_F() 184 EXPECT_DOUBLE_EQ(FLAGS_double_3, 100.5); in TEST_F()
|
D | value_conversion_unittest.cc | 75 EXPECT_DOUBLE_EQ(12.5, actual); in TEST() 78 EXPECT_DOUBLE_EQ(-0.1, actual); in TEST() 81 EXPECT_DOUBLE_EQ(17.0, actual); in TEST()
|
D | any_unittest.cc | 38 EXPECT_DOUBLE_EQ(3.1415926, val2.Get<double>()); in TEST() 61 EXPECT_DOUBLE_EQ(3.1415926, val.Get<double>()); in TEST()
|
/external/pdfium/fpdfsdk/ |
D | fpdftext_embeddertest.cpp | 91 EXPECT_DOUBLE_EQ(0.0, left); in TEST_F() 92 EXPECT_DOUBLE_EQ(0.0, right); in TEST_F() 93 EXPECT_DOUBLE_EQ(0.0, bottom); in TEST_F() 94 EXPECT_DOUBLE_EQ(0.0, top); in TEST_F() 96 EXPECT_DOUBLE_EQ(0.0, left); in TEST_F() 97 EXPECT_DOUBLE_EQ(0.0, right); in TEST_F() 98 EXPECT_DOUBLE_EQ(0.0, bottom); in TEST_F() 99 EXPECT_DOUBLE_EQ(0.0, top); in TEST_F() 101 EXPECT_DOUBLE_EQ(0.0, left); in TEST_F() 102 EXPECT_DOUBLE_EQ(0.0, right); in TEST_F() [all …]
|
/external/libchrome/base/json/ |
D | json_reader_unittest.cc | 119 EXPECT_DOUBLE_EQ(2147483648.0, double_val); in TEST() 125 EXPECT_DOUBLE_EQ(-2147483649.0, double_val); in TEST() 134 EXPECT_DOUBLE_EQ(43.1, double_val); in TEST() 141 EXPECT_DOUBLE_EQ(.43, double_val); in TEST() 148 EXPECT_DOUBLE_EQ(2.1, double_val); in TEST() 155 EXPECT_DOUBLE_EQ(21.0, double_val); in TEST() 162 EXPECT_DOUBLE_EQ(0.01, double_val); in TEST() 169 EXPECT_DOUBLE_EQ(1.0, double_val); in TEST() 331 EXPECT_DOUBLE_EQ(9.87654321, double_val); in TEST()
|
/external/libbrillo/brillo/dbus/ |
D | dbus_param_writer_unittest.cc | 67 EXPECT_DOUBLE_EQ(7.5, variant_value.Get<double>()); in TEST() 126 EXPECT_DOUBLE_EQ(8.5, variant_value.Get<double>()); in TEST() 185 EXPECT_DOUBLE_EQ(7.5, variant_value.Get<double>()); in TEST()
|
D | dbus_param_reader_unittest.cc | 116 EXPECT_DOUBLE_EQ(1972.0, param2); in TEST() 149 EXPECT_DOUBLE_EQ(0.0, *param2); in TEST() 164 EXPECT_DOUBLE_EQ(0.0, *param1); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | StringExtrasTest.cpp | 89 EXPECT_DOUBLE_EQ(4.7, D); in TEST() 93 EXPECT_DOUBLE_EQ(4.7, LD); in TEST()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | sample_service_unittest.cc | 348 EXPECT_DOUBLE_EQ(1234567890.123, defaults->a14); in TEST_P() 349 EXPECT_DOUBLE_EQ(1E10, defaults->a15); in TEST_P() 350 EXPECT_DOUBLE_EQ(-1.2E+20, defaults->a16); in TEST_P() 351 EXPECT_DOUBLE_EQ(1.23E-20, defaults->a17); in TEST_P()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_testutil.h | 138 EXPECT_DOUBLE_EQ(a, b); 149 EXPECT_DOUBLE_EQ(a.real(), b.real()) << a << " vs. " << b; 150 EXPECT_DOUBLE_EQ(a.imag(), b.imag()) << a << " vs. " << b;
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | utils_test.cc | 276 EXPECT_DOUBLE_EQ(1038.0, hist.Average()); in TEST() 293 EXPECT_DOUBLE_EQ(1038.0, hist1.Average()); in TEST() 306 EXPECT_DOUBLE_EQ((2 * (1037 + 1038 + 1039) + 1 + 2 + 4) / 9.0, in TEST()
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest-tuple_test.cc | 202 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST() 212 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
|
D | gtest_unittest.cc | 3066 EXPECT_DOUBLE_EQ(0.0, -0.0); in TEST_F() 3067 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(-0.0, 1.0), in TEST_F() 3087 EXPECT_DOUBLE_EQ(0.0, v.close_to_positive_zero); in TEST_F() 3088 EXPECT_DOUBLE_EQ(-0.0, v.close_to_negative_zero); in TEST_F() 3089 EXPECT_DOUBLE_EQ(v.close_to_positive_zero, v.close_to_negative_zero); in TEST_F() 3099 EXPECT_DOUBLE_EQ(1.0, values_.close_to_one); in TEST_F() 3100 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, values_.further_from_one), in TEST_F() 3106 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(2.0, 3.0), in TEST_F() 3115 EXPECT_DOUBLE_EQ(values_.infinity, values_.close_to_infinity); in TEST_F() 3116 EXPECT_DOUBLE_EQ(-values_.infinity, -values_.close_to_infinity); in TEST_F() [all …]
|
/external/libchrome/base/ |
D | task_runner_util_unittest.cc | 94 EXPECT_DOUBLE_EQ(42.0, result); in TEST()
|
/external/webrtc/talk/session/media/ |
D | channel_unittest.cc | 2178 EXPECT_DOUBLE_EQ(1.0, volume); in TEST_F() 2185 EXPECT_DOUBLE_EQ(1.5, volume); in TEST_F() 2190 EXPECT_DOUBLE_EQ(0.0, volume); in TEST_F() 2204 EXPECT_DOUBLE_EQ(1.0, volume); in TEST_F() 2206 EXPECT_DOUBLE_EQ(1.0, volume); in TEST_F() 2208 EXPECT_DOUBLE_EQ(1.0, volume); in TEST_F() 2215 EXPECT_DOUBLE_EQ(1.5, volume); in TEST_F() 2217 EXPECT_DOUBLE_EQ(1.0, volume); in TEST_F() 2219 EXPECT_DOUBLE_EQ(1.0, volume); in TEST_F() 2224 EXPECT_DOUBLE_EQ(0.0, volume); in TEST_F() [all …]
|