Searched refs:TestEq (Results 1 – 2 of 2) sorted by relevance
/external/flatbuffers/tests/ |
D | JavaTest.java | 136 TestEq(monster.mutateMana((short)10), false); in main() 137 TestEq(monster.mana(), (short)150); in main() 140 TestEq(monster.testarrayoftables(0).name(), "Barney"); in main() 141 TestEq(monster.testarrayoftables(1).name(), "Frodo"); in main() 142 TestEq(monster.testarrayoftables(2).name(), "Wilma"); in main() 145 TestEq(Monster.lookupByKey(sortMons, "Frodo", fbb.dataBuffer()).name(), "Frodo"); in main() 146 TestEq(Monster.lookupByKey(sortMons, "Barney", fbb.dataBuffer()).name(), "Barney"); in main() 147 TestEq(Monster.lookupByKey(sortMons, "Wilma", fbb.dataBuffer()).name(), "Wilma"); in main() 150 TestEq(monster.testType(), (byte)Any.Monster); in main() 151 TestEq(monster.mutateTestType(Any.NONE), true); in main() [all …]
|
D | test.cpp | 62 void TestEq(T expval, U val, const char *exp, const char *file, int line) { in TestEq() function 70 #define TEST_EQ(exp, val) TestEq(exp, val, #exp, __FILE__, __LINE__) 71 #define TEST_NOTNULL(exp) TestEq(exp == NULL, false, #exp, __FILE__, __LINE__)
|