Home
last modified time | relevance | path

Searched refs:TEST_EQ (Results 1 – 10 of 10) sorted by relevance

/third_party/flatbuffers/tests/
Dtest.cpp248 TEST_EQ(VerifyMonsterBuffer(verifier), true); in AccessFlatBufferTest()
258 TEST_EQ(VerifyMonsterBuffer(verifier1), true); in AccessFlatBufferTest()
259 TEST_EQ(verifier1.GetComputedSize(), length); in AccessFlatBufferTest()
262 TEST_EQ(VerifyMonsterBuffer(verifier2), true); in AccessFlatBufferTest()
263 TEST_EQ(verifier2.GetComputedSize(), length); in AccessFlatBufferTest()
267 TEST_EQ(strcmp(MonsterIdentifier(), "MONS"), 0); in AccessFlatBufferTest()
268 TEST_EQ(MonsterBufferHasIdentifier(flatbuf), true); in AccessFlatBufferTest()
269 TEST_EQ(strcmp(MonsterExtension(), "mon"), 0); in AccessFlatBufferTest()
274 TEST_EQ(monster->hp(), 80); in AccessFlatBufferTest()
275 TEST_EQ(monster->mana(), 150); // default in AccessFlatBufferTest()
[all …]
Dtest_assert.h19 #define TEST_EQ(exp, val) TestEq(exp, val, "'" #exp "' != '" #val "'", __FILE__, __LINE__, "") macro
/third_party/boost/libs/variant2/test/
Dvariant_lt_gt.cpp27 #define TEST_EQ( v1, v2 ) \ macro
48 TEST_EQ( v1, v2 ) in main()
50 TEST_EQ( v3, v4 ) in main()
56 TEST_EQ( v1, v2 ) in main()
58 TEST_EQ( v3, v4 ) in main()
61 TEST_EQ( v5, v6 ) in main()
67 TEST_EQ( v1, v2 ) in main()
69 TEST_EQ( v3, v4 ) in main()
72 TEST_EQ( v5, v6 ) in main()
Dvariant_lt_gt_cx.cpp33 #define TEST_EQ( v1, v2 ) \ macro
54 TEST_EQ( v1, v2 ) in main()
56 TEST_EQ( v3, v4 ) in main()
62 TEST_EQ( v1, v2 ) in main()
64 TEST_EQ( v3, v4 ) in main()
67 TEST_EQ( v5, v6 ) in main()
73 TEST_EQ( v1, v2 ) in main()
75 TEST_EQ( v3, v4 ) in main()
78 TEST_EQ( v5, v6 ) in main()
/third_party/flatbuffers/tests/cpp17/
Dtest_cpp17.cpp199 TEST_EQ(stat->val(), 42); in CreateTableByTypeTest()
200 TEST_EQ(stat->count(), 7); in CreateTableByTypeTest()
217 TEST_EQ(opts->maybe_i8().value(), 2); in OptionalScalarsTest()
220 TEST_EQ(opts->maybe_i8().value(), 3); in OptionalScalarsTest()
236 TEST_EQ(opts->maybe_i8().value(), 3); in OptionalScalarsTest()
238 TEST_EQ(opts->maybe_i32().value(), -1); in OptionalScalarsTest()
240 TEST_EQ(std::optional<int32_t>(opts->maybe_i32()).value(), -1); in OptionalScalarsTest()
241 TEST_EQ(std::optional<int64_t>(opts->maybe_i32()).value(), -1); in OptionalScalarsTest()
/third_party/flatbuffers/tests/fuzzer/
Dflatbuffers_monster_fuzzer.cc56 TEST_EQ(true, TestFileExists(file_path)); in LoadBinarySchema()
58 TEST_EQ(true, flatbuffers::LoadFile(file_path.string().c_str(), true, &schemafile)); in LoadBinarySchema()
62 TEST_EQ(true, reflection::VerifySchemaBuffer(verifier)); in LoadBinarySchema()
72 TEST_EQ(true, parser.Deserialize( in do_test()
82 TEST_EQ(true, MyGame::Example::VerifyMonsterBuffer(verifier)); in do_test()
128 TEST_EQ(jsongen_1, jsongen_2); in LLVMFuzzerTestOneInput()
Dflatbuffers_scalar_fuzzer.cc221 TEST_EQ(GenerateText(parser, parser.builder_.GetBufferPointer(), _text), in Parse()
/third_party/boost/libs/nowide/test/
Dtest_system.cpp62 TEST_EQ(vec_main.size(), vec_utf8.size()); in compare_string_arrays()
73 TEST_EQ(vec_main[i], replace_non_ascii(vec_utf8[i])); in compare_string_arrays()
94 TEST_EQ(std_value, replace_non_ascii(bnw_value)); in compare_getenv()
106 TEST_EQ(argv[1], example); in run_child()
111 TEST_EQ(boost::nowide::getenv("BOOST_NOWIDE_TEST"), example); in run_child()
116 TEST_EQ(boost::nowide::getenv("BOOST_NOWIDE_EMPTY"), std::string()); in run_child()
Dtest.hpp82 #define TEST_EQ(lhs, rhs) \ macro
/third_party/flatbuffers/grpc/tests/
Dmessage_builder_test.cpp15 TEST_EQ(name, expected_name); in verify()
16 TEST_EQ(color, expected_color); in verify()
39 TEST_EQ(dst.GetSize(), src_size); in builder_move_assign_after_releaseraw_test()
41 TEST_EQ(src.GetSize(), 0); in builder_move_assign_after_releaseraw_test()
263 TEST_EQ(mon->color(), m1_color()); in builder_move_ctor_conversion_before_finish_test()
265 TEST_EQ(1, MyGame::Example::Color_Red); in builder_move_ctor_conversion_before_finish_test()
266 TEST_EQ(1, m1_color()); in builder_move_ctor_conversion_before_finish_test()