Home
last modified time | relevance | path

Searched refs:EXPECT_DOUBLE_EQ (Results 1 – 25 of 60) sorted by relevance

123

/external/webrtc/webrtc/base/
Dratetracker_unittest.cc36 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 …]
Drollingaccumulator_unittest.cc26 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 …]
Dprofiler_unittest.cc48 EXPECT_DOUBLE_EQ(event->mean(), event->total_time() / event->event_count()); in TEST()
99 EXPECT_DOUBLE_EQ(event1->mean(), in TEST()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dfile_utils_unittest.cc88 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/
Dvad_circular_buffer_unittest.cc53 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/fpdfsdk/javascript/
Dpublic_methods_embeddertest.cpp34 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/
Dtokenizer_unittest.cc758 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/
Dflag_helper_unittest.cc60 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()
Dvalue_conversion_unittest.cc75 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()
/external/libmojo/mojo/public/cpp/bindings/tests/
Dconstant_unittest.cc23 EXPECT_DOUBLE_EQ(kDoubleValue, 3.14159); in TEST()
38 EXPECT_DOUBLE_EQ(InterfaceWithConstants::kDoubleValue, 12.34567); in TEST()
Dsample_service_unittest.cc364 EXPECT_DOUBLE_EQ(1234567890.123, defaults->a14); in TEST_F()
365 EXPECT_DOUBLE_EQ(1E10, defaults->a15); in TEST_F()
366 EXPECT_DOUBLE_EQ(-1.2E+20, defaults->a16); in TEST_F()
367 EXPECT_DOUBLE_EQ(1.23E-20, defaults->a17); in TEST_F()
/external/libchrome/base/json/
Djson_reader_unittest.cc128 EXPECT_DOUBLE_EQ(2147483648.0, double_val); in TEST()
134 EXPECT_DOUBLE_EQ(-2147483649.0, double_val); in TEST()
144 EXPECT_DOUBLE_EQ(43.1, double_val); in TEST()
151 EXPECT_DOUBLE_EQ(.43, double_val); in TEST()
158 EXPECT_DOUBLE_EQ(2.1, double_val); in TEST()
165 EXPECT_DOUBLE_EQ(21.0, double_val); in TEST()
172 EXPECT_DOUBLE_EQ(0.01, double_val); in TEST()
179 EXPECT_DOUBLE_EQ(1.0, double_val); in TEST()
348 EXPECT_DOUBLE_EQ(9.87654321, double_val); in TEST()
/external/libbrillo/brillo/dbus/
Ddbus_param_writer_unittest.cc67 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()
Ddbus_param_reader_unittest.cc116 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/google-breakpad/src/testing/gtest/test/
Dgtest-tuple_test.cc202 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
212 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
Dgtest_unittest.cc3066 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/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-tuple_test.cc202 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
212 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
Dgtest_unittest.cc2921 EXPECT_DOUBLE_EQ(0.0, -0.0); in TEST_F()
2922 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(-0.0, 1.0), in TEST_F()
2942 EXPECT_DOUBLE_EQ(0.0, v.close_to_positive_zero); in TEST_F()
2943 EXPECT_DOUBLE_EQ(-0.0, v.close_to_negative_zero); in TEST_F()
2944 EXPECT_DOUBLE_EQ(v.close_to_positive_zero, v.close_to_negative_zero); in TEST_F()
2954 EXPECT_DOUBLE_EQ(1.0, values_.close_to_one); in TEST_F()
2955 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, values_.further_from_one), in TEST_F()
2961 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(2.0, 3.0), in TEST_F()
2970 EXPECT_DOUBLE_EQ(values_.infinity, values_.close_to_infinity); in TEST_F()
2971 EXPECT_DOUBLE_EQ(-values_.infinity, -values_.close_to_infinity); in TEST_F()
[all …]
/external/protobuf/gtest/test/
Dgtest-tuple_test.cc202 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
212 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
Dgtest_unittest.cc2892 EXPECT_DOUBLE_EQ(0.0, -0.0); in TEST_F()
2893 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(-0.0, 1.0), in TEST_F()
2913 EXPECT_DOUBLE_EQ(0.0, v.close_to_positive_zero); in TEST_F()
2914 EXPECT_DOUBLE_EQ(-0.0, v.close_to_negative_zero); in TEST_F()
2915 EXPECT_DOUBLE_EQ(v.close_to_positive_zero, v.close_to_negative_zero); in TEST_F()
2925 EXPECT_DOUBLE_EQ(1.0, values_.close_to_one); in TEST_F()
2926 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, values_.further_from_one), in TEST_F()
2932 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(2.0, 3.0), in TEST_F()
2941 EXPECT_DOUBLE_EQ(values_.infinity, values_.close_to_infinity); in TEST_F()
2942 EXPECT_DOUBLE_EQ(-values_.infinity, -values_.close_to_infinity); in TEST_F()
[all …]
/external/googletest/googletest/test/
Dgtest-tuple_test.cc202 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
212 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
Dgtest_unittest.cc2928 EXPECT_DOUBLE_EQ(0.0, -0.0); in TEST_F()
2929 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(-0.0, 1.0), in TEST_F()
2949 EXPECT_DOUBLE_EQ(0.0, v.close_to_positive_zero); in TEST_F()
2950 EXPECT_DOUBLE_EQ(-0.0, v.close_to_negative_zero); in TEST_F()
2951 EXPECT_DOUBLE_EQ(v.close_to_positive_zero, v.close_to_negative_zero); in TEST_F()
2961 EXPECT_DOUBLE_EQ(1.0, values_.close_to_one); in TEST_F()
2962 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, values_.further_from_one), in TEST_F()
2968 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(2.0, 3.0), in TEST_F()
2977 EXPECT_DOUBLE_EQ(values_.infinity, values_.close_to_infinity); in TEST_F()
2978 EXPECT_DOUBLE_EQ(-values_.infinity, -values_.close_to_infinity); in TEST_F()
[all …]
/external/v8/testing/gtest/test/
Dgtest-tuple_test.cc202 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
212 EXPECT_DOUBLE_EQ(0.0, get<0>(b)); in TEST()
Dgtest_unittest.cc2928 EXPECT_DOUBLE_EQ(0.0, -0.0); in TEST_F()
2929 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(-0.0, 1.0), in TEST_F()
2949 EXPECT_DOUBLE_EQ(0.0, v.close_to_positive_zero); in TEST_F()
2950 EXPECT_DOUBLE_EQ(-0.0, v.close_to_negative_zero); in TEST_F()
2951 EXPECT_DOUBLE_EQ(v.close_to_positive_zero, v.close_to_negative_zero); in TEST_F()
2961 EXPECT_DOUBLE_EQ(1.0, values_.close_to_one); in TEST_F()
2962 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, values_.further_from_one), in TEST_F()
2968 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(2.0, 3.0), in TEST_F()
2977 EXPECT_DOUBLE_EQ(values_.infinity, values_.close_to_infinity); in TEST_F()
2978 EXPECT_DOUBLE_EQ(-values_.infinity, -values_.close_to_infinity); in TEST_F()
[all …]
/external/libchrome/base/
Dtask_runner_util_unittest.cc93 EXPECT_DOUBLE_EQ(42.0, result); in TEST()

123