Home
last modified time | relevance | path

Searched refs:EXPECT_FLOAT_EQ (Results 1 – 25 of 27) sorted by relevance

12

/third_party/flutter/engine/flutter/third_party/txt/tests/
Dparagraph_unittests.cc176 EXPECT_FLOAT_EQ(boxes[1].rect.left(), 90.921875); in TEST_F()
177 EXPECT_FLOAT_EQ(boxes[1].rect.top(), 50); in TEST_F()
178 EXPECT_FLOAT_EQ(boxes[1].rect.right(), 140.92188); in TEST_F()
179 EXPECT_FLOAT_EQ(boxes[1].rect.bottom(), 100); in TEST_F()
181 EXPECT_FLOAT_EQ(boxes[3].rect.left(), 231.34375); in TEST_F()
182 EXPECT_FLOAT_EQ(boxes[3].rect.top(), 50); in TEST_F()
183 EXPECT_FLOAT_EQ(boxes[3].rect.right(), 231.34375 + 50); in TEST_F()
184 EXPECT_FLOAT_EQ(boxes[3].rect.bottom(), 100); in TEST_F()
186 EXPECT_FLOAT_EQ(boxes[4].rect.left(), 281.34375); in TEST_F()
187 EXPECT_FLOAT_EQ(boxes[4].rect.top(), 0); in TEST_F()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/stdlib/
Dwcstof.c24 #define EXPECT_FLOAT_EQ(a, b) \ macro
42 EXPECT_FLOAT_EQ(val, target); in wcstof_0100()
59 EXPECT_FLOAT_EQ(val, target); in wcstof_0200()
73 EXPECT_FLOAT_EQ(val, target); in wcstof_0300()
103 EXPECT_FLOAT_EQ(val, target); in wcstof_0500()
117 EXPECT_FLOAT_EQ(val, target); in wcstof_0600()
/third_party/musl/libc-test/src/functionalext/supplement/math/
Dsignificandf.c20 #define EXPECT_FLOAT_EQ(a, b) \ macro
34 EXPECT_FLOAT_EQ(0.0f, f); in significandf_0100()
45 EXPECT_FLOAT_EQ(1.2f, f); in significandf_0200()
56 EXPECT_FLOAT_EQ(1.53125f, f); in significandf_0300()
/third_party/flutter/engine/flutter/fml/time/
Dtime_unittest.cc35 EXPECT_FLOAT_EQ(102304506708.0, delta.ToNanosecondsF()); in TEST()
36 EXPECT_FLOAT_EQ(102304506.708, delta.ToMicrosecondsF()); in TEST()
37 EXPECT_FLOAT_EQ(102304.506708, delta.ToMillisecondsF()); in TEST()
38 EXPECT_FLOAT_EQ(102.304506708, delta.ToSecondsF()); in TEST()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler_test.cpp1122 EXPECT_FLOAT_EQ(inout[i], expected[i]); in TEST_F()
1138 EXPECT_FLOAT_EQ(inout[i], expected[i]); in TEST_F()
1155 EXPECT_FLOAT_EQ(inout[i], expected[i]); in TEST_F()
1173 EXPECT_FLOAT_EQ(inout[i], expected[i]); in TEST_F()
1189 EXPECT_FLOAT_EQ(inout[i], expected[i]); in TEST_F()
1217 EXPECT_FLOAT_EQ(inout[i].in, inout[i].in); in TEST_F()
1218 EXPECT_FLOAT_EQ(inout[i].clc, inout[i].clc); in TEST_F()
1238 EXPECT_FLOAT_EQ(inout[i], expected[i]); in TEST_F()
1254 EXPECT_FLOAT_EQ(inout[i], expected[i]); in TEST_F()
1270 EXPECT_FLOAT_EQ(inout[i], expected[i]); in TEST_F()
[all …]
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_const_literal_test.cc76 EXPECT_FLOAT_EQ(c->As<ast::FloatLiteralExpression>()->value, 234e12f); in TEST_F()
140 EXPECT_FLOAT_EQ(c->As<ast::FloatLiteralExpression>()->value, params.expected); in TEST_P()
408 EXPECT_FLOAT_EQ(c->As<ast::FloatLiteralExpression>()->value, in TEST_F()
431 EXPECT_FLOAT_EQ(c->As<ast::FloatLiteralExpression>()->value, in TEST_F()
Dparser_impl_const_expr_test.cc36 EXPECT_FLOAT_EQ(t->args[0]->As<ast::FloatLiteralExpression>()->value, 1.); in TEST_F()
39 EXPECT_FLOAT_EQ(t->args[1]->As<ast::FloatLiteralExpression>()->value, 2.); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dinstruction_test.cc34 EXPECT_FLOAT_EQ(ops[0].to_f(), 1.2f); in TEST_F()
Doperand_test.cc29 EXPECT_FLOAT_EQ(o.to_f(), 1.2f); in TEST_F()
/third_party/googletest/googletest/test/
Dgtest_unittest.cc2834 EXPECT_FLOAT_EQ(0.0, -0.0); in TEST_F()
2835 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(-0.0, 1.0), in TEST_F()
2855 EXPECT_FLOAT_EQ(0.0, v.close_to_positive_zero); in TEST_F()
2856 EXPECT_FLOAT_EQ(-0.0, v.close_to_negative_zero); in TEST_F()
2857 EXPECT_FLOAT_EQ(v.close_to_positive_zero, v.close_to_negative_zero); in TEST_F()
2867 EXPECT_FLOAT_EQ(1.0, values_.close_to_one); in TEST_F()
2868 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(1.0, values_.further_from_one), in TEST_F()
2874 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(2.5, 3.0), in TEST_F()
2883 EXPECT_FLOAT_EQ(values_.infinity, values_.close_to_infinity); in TEST_F()
2884 EXPECT_FLOAT_EQ(-values_.infinity, -values_.close_to_infinity); in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DLowLevel.cpp704 EXPECT_FLOAT_EQ(1.0f, test.contentsOfDword<float>(S0)); in TEST_F()
705 EXPECT_FLOAT_EQ(2.0f, test.contentsOfDword<float>(S1)); in TEST_F()
706 EXPECT_FLOAT_EQ(3.0f, test.contentsOfDword<float>(S2)); in TEST_F()
707 EXPECT_FLOAT_EQ(4.0f, test.contentsOfDword<float>(S3)); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DLowLevel.cpp1132 EXPECT_FLOAT_EQ(1.0f, test.contentsOfDword<float>(S0)); in TEST_F()
1133 EXPECT_FLOAT_EQ(2.0f, test.contentsOfDword<float>(S1)); in TEST_F()
1134 EXPECT_FLOAT_EQ(3.0f, test.contentsOfDword<float>(S2)); in TEST_F()
1135 EXPECT_FLOAT_EQ(4.0f, test.contentsOfDword<float>(S3)); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/
DReactorUnitTests.cpp3339 EXPECT_FLOAT_EQ(result.v[0], expected.v[0]); in TEST()
3340 EXPECT_FLOAT_EQ(result.v[1], expected.v[1]); in TEST()
3341 EXPECT_FLOAT_EQ(result.v[2], expected.v[2]); in TEST()
3342 EXPECT_FLOAT_EQ(result.v[3], expected.v[3]); in TEST()
3358 EXPECT_FLOAT_EQ(result.v[0], expected.v[0]); in TEST()
3359 EXPECT_FLOAT_EQ(result.v[1], expected.v[1]); in TEST()
3360 EXPECT_FLOAT_EQ(result.v[2], expected.v[2]); in TEST()
3361 EXPECT_FLOAT_EQ(result.v[3], expected.v[3]); in TEST()
/third_party/googletest/docs/reference/
Dassertions.md273 ### EXPECT_FLOAT_EQ {#EXPECT_FLOAT_EQ}
275 `EXPECT_FLOAT_EQ(`*`val1`*`,`*`val2`*`)` \
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dbeta_distribution_test.cc239 EXPECT_FLOAT_EQ(x, 0.500025f); in TYPED_TEST()
/third_party/abseil-cpp/absl/random/
Dbeta_distribution_test.cc256 EXPECT_FLOAT_EQ(x, 0.500025f); in TYPED_TEST()
/third_party/mindspore/tests/ut/cpp/dataset/
Dimage_process_test.cc800 EXPECT_FLOAT_EQ(static_cast<FLOAT32_C1 *>(expect_float.data_ptr_)[i].c1, in TEST_F()
932 EXPECT_FLOAT_EQ(static_cast<FLOAT32_C1 *>(expect_float.data_ptr_)[i].c1, in TEST_F()
989 EXPECT_FLOAT_EQ(static_cast<FLOAT32_C1 *>(expect_float.data_ptr_)[i].c1, in TEST_F()
/third_party/skia/third_party/externals/tint/src/inspector/
Dinspector_test.cc1164 EXPECT_FLOAT_EQ(0.0, result[20].AsFloat()); in TEST_F()
1168 EXPECT_FLOAT_EQ(-10.0, result[300].AsFloat()); in TEST_F()
1172 EXPECT_FLOAT_EQ(15.0, result[4000].AsFloat()); in TEST_F()
/third_party/abseil-cpp/absl/types/
Dvariant_test.cc2303 EXPECT_FLOAT_EQ(3.14f, static_cast<float>(absl::get<double>(singleton))); in TEST()
2350 EXPECT_FLOAT_EQ(3.14f, static_cast<float>(absl::get<double>(singleton))); in TEST()
2488 EXPECT_FLOAT_EQ(3.14f, static_cast<float>(absl::get<double>(singleton))); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dvariant_test.cc2303 EXPECT_FLOAT_EQ(3.14f, static_cast<float>(absl::get<double>(singleton))); in TEST()
2351 EXPECT_FLOAT_EQ(3.14f, static_cast<float>(absl::get<double>(singleton))); in TEST()
2490 EXPECT_FLOAT_EQ(3.14f, static_cast<float>(absl::get<double>(singleton))); in TEST()
/third_party/mesa3d/src/gtest/include/gtest/
Dgtest.h2128 #define EXPECT_FLOAT_EQ(val1, val2)\ macro
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dmarshalling_test.cc464 EXPECT_FLOAT_EQ(value, 1.3f); in TEST()
/third_party/abseil-cpp/absl/flags/
Dmarshalling_test.cc464 EXPECT_FLOAT_EQ(value, 1.3f); in TEST()
/third_party/googletest/googletest/include/gtest/
Dgtest.h2148 #define EXPECT_FLOAT_EQ(val1, val2)\ macro
/third_party/protobuf/src/google/protobuf/
Dtext_format_unittest.cc1543 EXPECT_FLOAT_EQ(value, message->optional_##name()); \ in TEST_F()

12