Home
last modified time | relevance | path

Searched refs:TestEq (Results 1 – 3 of 3) sorted by relevance

/external/flatbuffers/tests/
DJavaTest.java82 TestEq(Color.name(Color.Red), "Red"); in TestEnums()
83 TestEq(Color.name(Color.Blue), "Blue"); in TestEnums()
84 TestEq(Any.name(Any.NONE), "NONE"); in TestEnums()
85 TestEq(Any.name(Any.Monster), "Monster"); in TestEnums()
89 TestEq(Monster.MonsterBufferHasIdentifier(bb), true); in TestBuffer()
93 TestEq(monster.hp(), (short)80); in TestBuffer()
94 TestEq(monster.mana(), (short)150); // default in TestBuffer()
96 TestEq(monster.name(), "MyMonster"); in TestBuffer()
100 TestEq(pos.x(), 1.0f); in TestBuffer()
101 TestEq(pos.y(), 2.0f); in TestBuffer()
[all …]
Dtest_assert.h19 #define TEST_EQ(exp, val) TestEq(exp, val, #exp, __FILE__, __LINE__)
20 #define TEST_ASSERT(exp) TestEq(exp, true, #exp, __FILE__, __LINE__)
21 #define TEST_NOTNULL(exp) TestEq(exp == NULL, false, #exp, __FILE__, __LINE__)
25 #define TEST_ASSERT_FUNC(exp) TestEq(exp, true, #exp, __FILE__, __LINE__, __FUNCTION__)
26 #define TEST_EQ_FUNC(exp, val) TestEq(exp, val, #exp, __FILE__, __LINE__, __FUNCTION__)
28 #define TEST_ASSERT_FUNC(exp) TestEq(exp, true, #exp, __FILE__, __LINE__, __PRETTY_FUNCTION__)
29 #define TEST_EQ_FUNC(exp, val) TestEq(exp, val, #exp, __FILE__, __LINE__, __PRETTY_FUNCTION__)
60 void TestEq(T expval, U val, const char *exp, const char *file, int line,
/external/python/cpython3/Lib/test/
Dtest_dataclasses.py2145 class TestEq(unittest.TestCase): class