Home
last modified time | relevance | path

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

1234

/external/chromium_org/content/browser/
Dhost_zoom_map_impl_unittest.cc31 EXPECT_DOUBLE_EQ(0, in TEST_F()
33 EXPECT_DOUBLE_EQ(zoomed, in TEST_F()
47 EXPECT_DOUBLE_EQ(0, in TEST_F()
49 EXPECT_DOUBLE_EQ(default_zoom, in TEST_F()
54 EXPECT_DOUBLE_EQ(0, in TEST_F()
56 EXPECT_DOUBLE_EQ(zoomed, in TEST_F()
/external/chromium_org/cc/animation/
Dscroll_offset_animation_curve_unittest.cc22 EXPECT_DOUBLE_EQ(0.0, curve->Duration()); in TEST()
26 EXPECT_DOUBLE_EQ(0.1, curve->Duration()); in TEST()
30 EXPECT_DOUBLE_EQ(0.15, curve->Duration()); in TEST()
34 EXPECT_DOUBLE_EQ(0.2, curve->Duration()); in TEST()
38 EXPECT_DOUBLE_EQ(0.05, curve->Duration()); in TEST()
42 EXPECT_DOUBLE_EQ(3.0, curve->Duration()); in TEST()
46 EXPECT_DOUBLE_EQ(0.15, curve->Duration()); in TEST()
50 EXPECT_DOUBLE_EQ(2.0, curve->Duration()); in TEST()
54 EXPECT_DOUBLE_EQ(0.05, curve->Duration()); in TEST()
/external/chromium_org/components/autofill/core/browser/
Dautofill_xml_parser_unittest.cc225 EXPECT_DOUBLE_EQ(0.5, positive_); in TEST_F()
226 EXPECT_DOUBLE_EQ(0.3, negative_); in TEST_F()
235 EXPECT_DOUBLE_EQ(0, positive_); in TEST_F()
236 EXPECT_DOUBLE_EQ(0.3, negative_); // Partially parsed. in TEST_F()
243 EXPECT_DOUBLE_EQ(0, positive_); in TEST_F()
244 EXPECT_DOUBLE_EQ(0, negative_); in TEST_F()
248 EXPECT_DOUBLE_EQ(0, positive_); in TEST_F()
249 EXPECT_DOUBLE_EQ(0, negative_); in TEST_F()
253 EXPECT_DOUBLE_EQ(0, positive_); in TEST_F()
254 EXPECT_DOUBLE_EQ(0, negative_); in TEST_F()
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc534 EXPECT_DOUBLE_EQ(1 , Tokenizer::ParseFloat("1.")); in TEST_F()
535 EXPECT_DOUBLE_EQ(1e3 , Tokenizer::ParseFloat("1e3")); in TEST_F()
536 EXPECT_DOUBLE_EQ(1e3 , Tokenizer::ParseFloat("1E3")); in TEST_F()
537 EXPECT_DOUBLE_EQ(1.5e3, Tokenizer::ParseFloat("1.5e3")); in TEST_F()
538 EXPECT_DOUBLE_EQ(.1 , Tokenizer::ParseFloat(".1")); in TEST_F()
539 EXPECT_DOUBLE_EQ(.25 , Tokenizer::ParseFloat(".25")); in TEST_F()
540 EXPECT_DOUBLE_EQ(.1e3 , Tokenizer::ParseFloat(".1e3")); in TEST_F()
541 EXPECT_DOUBLE_EQ(.25e3, Tokenizer::ParseFloat(".25e3")); in TEST_F()
542 EXPECT_DOUBLE_EQ(.1e+3, Tokenizer::ParseFloat(".1e+3")); in TEST_F()
543 EXPECT_DOUBLE_EQ(.1e-3, Tokenizer::ParseFloat(".1e-3")); in TEST_F()
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc769 EXPECT_DOUBLE_EQ(1 , Tokenizer::ParseFloat("1.")); in TEST_F()
770 EXPECT_DOUBLE_EQ(1e3 , Tokenizer::ParseFloat("1e3")); in TEST_F()
771 EXPECT_DOUBLE_EQ(1e3 , Tokenizer::ParseFloat("1E3")); in TEST_F()
772 EXPECT_DOUBLE_EQ(1.5e3, Tokenizer::ParseFloat("1.5e3")); in TEST_F()
773 EXPECT_DOUBLE_EQ(.1 , Tokenizer::ParseFloat(".1")); in TEST_F()
774 EXPECT_DOUBLE_EQ(.25 , Tokenizer::ParseFloat(".25")); in TEST_F()
775 EXPECT_DOUBLE_EQ(.1e3 , Tokenizer::ParseFloat(".1e3")); in TEST_F()
776 EXPECT_DOUBLE_EQ(.25e3, Tokenizer::ParseFloat(".25e3")); in TEST_F()
777 EXPECT_DOUBLE_EQ(.1e+3, Tokenizer::ParseFloat(".1e+3")); in TEST_F()
778 EXPECT_DOUBLE_EQ(.1e-3, Tokenizer::ParseFloat(".1e-3")); in TEST_F()
[all …]
/external/chromium_org/content/browser/webui/
Dweb_ui_message_handler_unittest.cc60 EXPECT_DOUBLE_EQ(value, zero_value); in TEST()
65 EXPECT_DOUBLE_EQ(value, neg_value); in TEST()
70 EXPECT_DOUBLE_EQ(value, pos_value); in TEST()
75 EXPECT_DOUBLE_EQ(value, zero_value); in TEST()
80 EXPECT_DOUBLE_EQ(value, neg_value); in TEST()
85 EXPECT_DOUBLE_EQ(value, pos_value); in TEST()
/external/chromium/chrome/browser/autofill/
Dautofill_xml_parser_unittest.cc221 EXPECT_DOUBLE_EQ(0.5, positive); in TEST()
222 EXPECT_DOUBLE_EQ(0.3, negative); in TEST()
236 EXPECT_DOUBLE_EQ(0, positive); in TEST()
237 EXPECT_DOUBLE_EQ(0.3, negative); // Partially parsed. in TEST()
246 EXPECT_DOUBLE_EQ(0, positive); in TEST()
247 EXPECT_DOUBLE_EQ(0, negative); in TEST()
254 EXPECT_DOUBLE_EQ(0, positive); in TEST()
255 EXPECT_DOUBLE_EQ(0, negative); in TEST()
262 EXPECT_DOUBLE_EQ(0, positive); in TEST()
263 EXPECT_DOUBLE_EQ(0, negative); in TEST()
/external/chromium_org/chrome/browser/history/
Dvisit_filter_unittest.cc258 EXPECT_DOUBLE_EQ(1.0, filter.GetVisitScore(visit)); in TEST_F()
261 EXPECT_DOUBLE_EQ(0.5, filter.GetVisitScore(visit)); in TEST_F()
264 EXPECT_DOUBLE_EQ(1.0, filter.GetVisitScore(visit)); in TEST_F()
269 EXPECT_DOUBLE_EQ(1.0, filter.GetVisitScore(visit)); in TEST_F()
271 EXPECT_DOUBLE_EQ(1.0, filter.GetVisitScore(visit)); in TEST_F()
273 EXPECT_DOUBLE_EQ(1.0, filter.GetVisitScore(visit)); in TEST_F()
277 EXPECT_DOUBLE_EQ(1.0, filter.GetVisitScore(visit)); in TEST_F()
281 EXPECT_DOUBLE_EQ(0.5, filter.GetVisitScore(visit)); in TEST_F()
285 EXPECT_DOUBLE_EQ(0.5, filter.GetVisitScore(visit)); in TEST_F()
291 EXPECT_DOUBLE_EQ(0.5 * one_week_one_hour_staleness, in TEST_F()
[all …]
/external/chromium_org/chrome/browser/safe_browsing/
Dbrowser_feature_extractor_unittest.cc290 EXPECT_DOUBLE_EQ(2.0, features[features::kUrlHistoryVisitCount]); in TEST_F()
291 EXPECT_DOUBLE_EQ(1.0, in TEST_F()
293 EXPECT_DOUBLE_EQ(1.0, features[features::kUrlHistoryTypedCount]); in TEST_F()
294 EXPECT_DOUBLE_EQ(1.0, features[features::kUrlHistoryLinkCount]); in TEST_F()
295 EXPECT_DOUBLE_EQ(4.0, features[features::kHttpHostVisitCount]); in TEST_F()
296 EXPECT_DOUBLE_EQ(2.0, features[features::kHttpsHostVisitCount]); in TEST_F()
297 EXPECT_DOUBLE_EQ(1.0, features[features::kFirstHttpHostVisitMoreThan24hAgo]); in TEST_F()
298 EXPECT_DOUBLE_EQ(1.0, features[features::kFirstHttpsHostVisitMoreThan24hAgo]); in TEST_F()
309 EXPECT_DOUBLE_EQ(1.0, features[features::kUrlHistoryVisitCount]); in TEST_F()
310 EXPECT_DOUBLE_EQ(0.0, in TEST_F()
[all …]
/external/chromium_org/media/base/
Daudio_renderer_mixer_input_unittest.cc80 EXPECT_DOUBLE_EQ(ProvideInput(), 1); in TEST_F()
84 EXPECT_DOUBLE_EQ(ProvideInput(), kVolume); in TEST_F()
95 EXPECT_DOUBLE_EQ(ProvideInput(), 1); in TEST_F()
98 EXPECT_DOUBLE_EQ(ProvideInput(), 1); in TEST_F()
/external/chromium_org/ui/gfx/
Dcolor_utils_unittest.cc15 EXPECT_DOUBLE_EQ(hsl.h, 0); in TEST()
16 EXPECT_DOUBLE_EQ(hsl.s, 1); in TEST()
17 EXPECT_DOUBLE_EQ(hsl.l, 0.5); in TEST()
23 EXPECT_DOUBLE_EQ(hsl.h, 0); in TEST()
24 EXPECT_DOUBLE_EQ(hsl.s, 0); in TEST()
/external/chromium_org/chrome/renderer/safe_browsing/
Dscorer_unittest.cc109 EXPECT_DOUBLE_EQ(0.62245933120185459, scorer->ComputeScore(features)); in TEST_F()
112 EXPECT_DOUBLE_EQ(0.62245933120185459, scorer->ComputeScore(features)); in TEST_F()
118 EXPECT_DOUBLE_EQ(0.6899744811276125, scorer->ComputeScore(features)); in TEST_F()
125 EXPECT_DOUBLE_EQ(0.77729986117469119, scorer->ComputeScore(features)); in TEST_F()
/external/ceres-solver/internal/ceres/
Dconditioned_cost_function_test.cc110 EXPECT_DOUBLE_EQ((i + 2) * (v1[i] - v2[i]) + i * 7, result[i]); in TEST()
117 EXPECT_DOUBLE_EQ(0, actual); in TEST()
119 EXPECT_DOUBLE_EQ(i + 2, actual); in TEST()
Dtriplet_sparse_matrix_test.cc84 EXPECT_DOUBLE_EQ(m.values()[0], 2.5); in TEST()
85 EXPECT_DOUBLE_EQ(m.values()[1], 5.2); in TEST()
125 EXPECT_DOUBLE_EQ(cpy.values()[0], 2.5); in TEST()
126 EXPECT_DOUBLE_EQ(cpy.values()[1], 5.2); in TEST()
171 EXPECT_DOUBLE_EQ(cpy.values()[0], 2.5); in TEST()
172 EXPECT_DOUBLE_EQ(cpy.values()[1], 5.2); in TEST()
/external/chromium_org/content/renderer/media/
Dwebrtc_local_audio_source_provider_unittest.cc72 EXPECT_DOUBLE_EQ(0.0, sink_bus_->channel(0)[0]); in TEST_F()
73 EXPECT_DOUBLE_EQ(0.0, sink_bus_->channel(1)[0]); in TEST_F()
90 EXPECT_DOUBLE_EQ(sink_bus_->channel(0)[0], sink_bus_->channel(1)[0]); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/alarms/
Dalarms_api_unittest.cc161 EXPECT_DOUBLE_EQ(10000, alarm->js_alarm->scheduled_time); in ExtensionAlarmsTestGetAlarmCallback()
189 EXPECT_DOUBLE_EQ(10060, alarm->js_alarm->scheduled_time); in ExtensionAlarmsTestCreateRepeatingGetAlarmCallback()
229 EXPECT_DOUBLE_EQ(10001, alarm->js_alarm->scheduled_time); in ExtensionAlarmsTestCreateAbsoluteGetAlarm1Callback()
275 EXPECT_DOUBLE_EQ(10001, alarm->js_alarm->scheduled_time); in ExtensionAlarmsTestCreateRepeatingWithQuickFirstCallGetAlarm1Callback()
303 EXPECT_DOUBLE_EQ(430000, (*alarms)[0].js_alarm->scheduled_time); in ExtensionAlarmsTestCreateDupeGetAllAlarmsCallback()
346 EXPECT_DOUBLE_EQ(4060, alarm.scheduled_time); in TEST_F()
575 EXPECT_DOUBLE_EQ(300010, alarm_manager_->test_next_poll_time_.ToJsTime()); in TEST_F()
582 EXPECT_DOUBLE_EQ((alarm_manager_->last_poll_time_ + in TEST_F()
614 EXPECT_DOUBLE_EQ((alarm_manager_->last_poll_time_ + in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/base/
Drollingaccumulator_unittest.cc80 EXPECT_DOUBLE_EQ(875.0, accum.ComputeSum()); in TEST()
81 EXPECT_DOUBLE_EQ(87.5, accum.ComputeMean()); in TEST()
Dprofiler_unittest.cc63 EXPECT_DOUBLE_EQ(event->mean(), event->total_time() / event->event_count()); in TEST()
112 EXPECT_DOUBLE_EQ(event1->mean(), in TEST()
/external/chromium/chrome/browser/themes/
Dbrowser_theme_pack_unittest.cc162 EXPECT_DOUBLE_EQ(expected.h, actual.h); in VerifyStarGazing()
163 EXPECT_DOUBLE_EQ(expected.s, actual.s); in VerifyStarGazing()
164 EXPECT_DOUBLE_EQ(expected.l, actual.l); in VerifyStarGazing()
273 EXPECT_DOUBLE_EQ(expected.h, actual.h); in TEST_F()
274 EXPECT_DOUBLE_EQ(expected.s, actual.s); in TEST_F()
275 EXPECT_DOUBLE_EQ(expected.l, actual.l); in TEST_F()
/external/chromium_org/chrome/browser/
Dchrome_page_zoom_unittest.cc20 EXPECT_DOUBLE_EQ(factors.front(), content::kMinimumZoomFactor); in TEST()
21 EXPECT_DOUBLE_EQ(factors.back(), content::kMaximumZoomFactor); in TEST()
/external/chromium_org/base/json/
Djson_reader_unittest.cc111 EXPECT_DOUBLE_EQ(2147483648.0, double_val); in TEST()
117 EXPECT_DOUBLE_EQ(-2147483649.0, double_val); in TEST()
125 EXPECT_DOUBLE_EQ(43.1, double_val); in TEST()
132 EXPECT_DOUBLE_EQ(.43, double_val); in TEST()
139 EXPECT_DOUBLE_EQ(2.1, double_val); in TEST()
146 EXPECT_DOUBLE_EQ(21.0, double_val); in TEST()
153 EXPECT_DOUBLE_EQ(0.01, double_val); in TEST()
160 EXPECT_DOUBLE_EQ(1.0, double_val); in TEST()
330 EXPECT_DOUBLE_EQ(9.87654321, double_val); in TEST()
/external/chromium_org/ui/gfx/animation/
Dmulti_animation_unittest.cc30 EXPECT_DOUBLE_EQ(Tween::CalculateValue(Tween::EASE_OUT, .2), in TEST()
36 EXPECT_DOUBLE_EQ(Tween::CalculateValue(Tween::EASE_OUT, .2), in TEST()
/external/chromium_org/content/browser/geolocation/
Dlocation_arbitrator_impl_unittest.cc129 EXPECT_DOUBLE_EQ(latitude, geoposition.latitude); in CheckLastPositionInfo()
130 EXPECT_DOUBLE_EQ(longitude, geoposition.longitude); in CheckLastPositionInfo()
131 EXPECT_DOUBLE_EQ(accuracy, geoposition.accuracy); in CheckLastPositionInfo()
/external/chromium_org/chrome/browser/thumbnails/
Dsimple_thumbnail_crop_unittest.cc28 EXPECT_DOUBLE_EQ(1.0, SimpleThumbnailCrop::CalculateBoringScore(bitmap)); in TEST_F()
40 EXPECT_DOUBLE_EQ(1.0, SimpleThumbnailCrop::CalculateBoringScore(bitmap)); in TEST_F()
58 EXPECT_DOUBLE_EQ(0.5, SimpleThumbnailCrop::CalculateBoringScore(bitmap)); in TEST_F()
/external/chromium_org/chrome/browser/themes/
Dbrowser_theme_pack_unittest.cc218 EXPECT_DOUBLE_EQ(expected.h, actual.h); in VerifyStarGazing()
219 EXPECT_DOUBLE_EQ(expected.s, actual.s); in VerifyStarGazing()
220 EXPECT_DOUBLE_EQ(expected.l, actual.l); in VerifyStarGazing()
438 EXPECT_DOUBLE_EQ(expected.h, actual.h); in TEST_F()
439 EXPECT_DOUBLE_EQ(expected.s, actual.s); in TEST_F()
440 EXPECT_DOUBLE_EQ(expected.l, actual.l); in TEST_F()

1234