/third_party/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() 24 EXPECT_DOUBLE_EQ(benchmark::StatisticsStdDev({2.5, 2.4, 3.3, 4.2, 5.1}), in TEST() 29 EXPECT_DOUBLE_EQ(benchmark::StatisticsCV({101, 101, 101, 101}), 0.0); in TEST() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/stdlib/ |
D | wcstod.c | 24 #define EXPECT_DOUBLE_EQ(a, b) \ macro 42 EXPECT_DOUBLE_EQ(val, target); in wcstod_0100() 59 EXPECT_DOUBLE_EQ(val, target); in wcstod_0200() 73 EXPECT_DOUBLE_EQ(val, target); in wcstod_0300() 103 EXPECT_DOUBLE_EQ(val, target); in wcstod_0500() 117 EXPECT_DOUBLE_EQ(val, target); in wcstod_0600()
|
D | atof.c | 23 #define EXPECT_DOUBLE_EQ(a, b) \ macro 38 EXPECT_DOUBLE_EQ(result, 123456.00); in atof_0100()
|
/third_party/protobuf/src/google/protobuf/io/ |
D | tokenizer_unittest.cc | 735 EXPECT_DOUBLE_EQ(1, Tokenizer::ParseFloat("1.")); in TEST_F() 736 EXPECT_DOUBLE_EQ(1e3, Tokenizer::ParseFloat("1e3")); in TEST_F() 737 EXPECT_DOUBLE_EQ(1e3, Tokenizer::ParseFloat("1E3")); in TEST_F() 738 EXPECT_DOUBLE_EQ(1.5e3, Tokenizer::ParseFloat("1.5e3")); in TEST_F() 739 EXPECT_DOUBLE_EQ(.1, Tokenizer::ParseFloat(".1")); in TEST_F() 740 EXPECT_DOUBLE_EQ(.25, Tokenizer::ParseFloat(".25")); in TEST_F() 741 EXPECT_DOUBLE_EQ(.1e3, Tokenizer::ParseFloat(".1e3")); in TEST_F() 742 EXPECT_DOUBLE_EQ(.25e3, Tokenizer::ParseFloat(".25e3")); in TEST_F() 743 EXPECT_DOUBLE_EQ(.1e+3, Tokenizer::ParseFloat(".1e+3")); in TEST_F() 744 EXPECT_DOUBLE_EQ(.1e-3, Tokenizer::ParseFloat(".1e-3")); in TEST_F() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/math/ |
D | significand.c | 20 #define EXPECT_DOUBLE_EQ(a, b) \ macro 34 EXPECT_DOUBLE_EQ(0.0, d); in significand_0100() 45 EXPECT_DOUBLE_EQ(1.2, d); in significand_0200() 56 EXPECT_DOUBLE_EQ(1.53125, d); in significand_0300()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
D | marshalling_test.cc | 466 EXPECT_DOUBLE_EQ(value, -0.1f); in TEST() 468 EXPECT_DOUBLE_EQ(value, 0.01f); in TEST() 472 EXPECT_DOUBLE_EQ(value, 1.2e3f); in TEST() 474 EXPECT_DOUBLE_EQ(value, 9.8765402e-37f); in TEST() 476 EXPECT_DOUBLE_EQ(value, 0.11e+3f); in TEST() 478 EXPECT_DOUBLE_EQ(value, 0.f); in TEST() 484 EXPECT_DOUBLE_EQ(value, 1.6f); in TEST() 486 EXPECT_DOUBLE_EQ(value, 0.0001f); in TEST() 490 EXPECT_DOUBLE_EQ(value, -5.1f); in TEST() 500 EXPECT_DOUBLE_EQ(value, 66096.f); in TEST() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/ |
D | int128_test.cc | 266 EXPECT_DOUBLE_EQ(static_cast<double>(from_precise_ints), precise_double); in TEST() 271 EXPECT_DOUBLE_EQ(static_cast<double>(from_approx_double), approx_double); in TEST() 633 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(absl::int128(fvalue))); in TYPED_TEST() 634 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(-absl::int128(fvalue))); in TYPED_TEST() 635 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(absl::int128(-fvalue))); in TYPED_TEST() 636 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(-absl::int128(-fvalue))); in TYPED_TEST() 675 EXPECT_DOUBLE_EQ(std::ldexp(static_cast<TypeParam>(1), 127), in TYPED_TEST() 677 EXPECT_DOUBLE_EQ(-std::ldexp(static_cast<TypeParam>(1), 127), in TYPED_TEST()
|
/third_party/googletest/googletest/test/ |
D | gtest_unittest.cc | 2991 EXPECT_DOUBLE_EQ(0.0, -0.0); in TEST_F() 2992 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(-0.0, 1.0), in TEST_F() 3012 EXPECT_DOUBLE_EQ(0.0, v.close_to_positive_zero); in TEST_F() 3013 EXPECT_DOUBLE_EQ(-0.0, v.close_to_negative_zero); in TEST_F() 3014 EXPECT_DOUBLE_EQ(v.close_to_positive_zero, v.close_to_negative_zero); in TEST_F() 3024 EXPECT_DOUBLE_EQ(1.0, values_.close_to_one); in TEST_F() 3025 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, values_.further_from_one), in TEST_F() 3031 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(2.0, 3.0), in TEST_F() 3040 EXPECT_DOUBLE_EQ(values_.infinity, values_.close_to_infinity); in TEST_F() 3041 EXPECT_DOUBLE_EQ(-values_.infinity, -values_.close_to_infinity); in TEST_F() [all …]
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | statusor_test.cc | 140 EXPECT_DOUBLE_EQ(source.ValueOrDie(), target.ValueOrDie()); in TEST()
|
/third_party/googletest/docs/reference/ |
D | assertions.md | 281 ### EXPECT_DOUBLE_EQ {#EXPECT_DOUBLE_EQ} 283 `EXPECT_DOUBLE_EQ(`*`val1`*`,`*`val2`*`)` \
|
/third_party/flutter/engine/flutter/third_party/txt/tests/ |
D | paragraph_unittests.cc | 3955 EXPECT_DOUBLE_EQ(paragraph->records_[0].offset().x(), 0); in TEST_F() 3956 EXPECT_DOUBLE_EQ(paragraph->records_[1].offset().x(), 0); in TEST_F() 3957 EXPECT_DOUBLE_EQ(paragraph->records_[2].offset().x(), 207.37109375f); in TEST_F() 3958 EXPECT_DOUBLE_EQ(paragraph->records_[3].offset().x(), 230.87109375f); in TEST_F() 3959 EXPECT_DOUBLE_EQ(paragraph->records_[4].offset().x(), 253.36328125f); in TEST_F() 3991 EXPECT_DOUBLE_EQ(paragraph->records_[0].offset().x(), 0); in TEST_F() 3992 EXPECT_DOUBLE_EQ(paragraph->records_[1].offset().x(), 0); in TEST_F() 3993 EXPECT_DOUBLE_EQ(paragraph->records_[1].offset().y(), 126); in TEST_F() 3994 EXPECT_DOUBLE_EQ(paragraph->records_[2].offset().x(), 0); in TEST_F() 3995 EXPECT_DOUBLE_EQ(paragraph->records_[3].offset().x(), 0); in TEST_F() [all …]
|
/third_party/googletest/googlemock/test/ |
D | gmock-more-actions_test.cc | 995 EXPECT_DOUBLE_EQ(5, a1.Perform(std::make_tuple())); in TEST() 1118 EXPECT_DOUBLE_EQ(6, a2.Perform(std::make_tuple(4.0f, &dummy))); in TEST() 1186 EXPECT_DOUBLE_EQ(3123.4, a1.Perform(std::make_tuple(3000, true))); in TEST()
|
D | gmock-actions_test.cc | 1079 EXPECT_DOUBLE_EQ(5, x); in TEST() 1205 EXPECT_DOUBLE_EQ(5.0, a.Perform(std::make_tuple())); in TEST_F()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/status/ |
D | statusor_test.cc | 544 EXPECT_DOUBLE_EQ(*original, *copy); in TEST() 632 EXPECT_DOUBLE_EQ(kI, *target); in TEST() 636 EXPECT_DOUBLE_EQ(kI, *source); in TEST()
|
/third_party/mesa3d/src/gtest/include/gtest/ |
D | gtest.h | 2132 #define EXPECT_DOUBLE_EQ(val1, val2)\ macro
|
/third_party/googletest/googletest/include/gtest/ |
D | gtest.h | 2152 #define EXPECT_DOUBLE_EQ(val1, val2)\ macro
|
/third_party/protobuf/src/google/protobuf/ |
D | text_format_unittest.cc | 1549 EXPECT_DOUBLE_EQ(value, message->optional_##name()); \ in TEST_F()
|
D | descriptor_unittest.cc | 3067 EXPECT_DOUBLE_EQ(1.234567890123456789, in TEST() 3081 EXPECT_DOUBLE_EQ(154, options->GetExtension(protobuf_unittest::double_opt)); in TEST() 3086 EXPECT_DOUBLE_EQ(-154, options->GetExtension(protobuf_unittest::double_opt)); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | numbers_test.cc | 124 EXPECT_DOUBLE_EQ(d, strtod(s.c_str(), nullptr)); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
D | variant_test.cc | 2130 EXPECT_DOUBLE_EQ(2, absl::get<double>(v)); in TEST()
|
/third_party/cef/tools/distrib/gtest/ |
D | gtest.h | 12033 #define EXPECT_DOUBLE_EQ(val1, val2)\
|