Go to the source code of this file.
|
| namespace | std |
| | STL namespace.
|
| |
◆ BLOCK_TEST_FUNC
◆ DB_OBJ_TEST_FUNC
◆ TestOlympus0x20()
| static void TestOlympus0x20 |
( |
const BLOCK_BASE & | aBlock | ) |
|
|
static |
◆ additionalBlockTests
Initial value:{
}
static void TestOlympus0x20(const BLOCK_BASE &aBlock)
The registry of additional block tests, keyed by board name and block offset.
The test function takes the parsed block as an argument, and can perform any additional validation on the block data that isn't easily expressed in the JSON test definitions.
You can register any callable here, so it could be a function or function object.
Definition at line 102 of file test_block_additional.cpp.
Referenced by KI_TEST::RunAdditionalBlockTest().
◆ additionalDbObjTests
Initial value:{
{ {
"Olympus_15061-1b_v165", 0x0131553c }, [](
const DB_OBJ& obj )
{
BOOST_TEST( blk.m_Next.m_TargetKey == 0x824DF8F0 );
}
},
}
A DB_OBJ represents one object in an Allegro database.
BOOST_TEST(contains==c.ExpectedContains)
BOOST_REQUIRE(intersection.has_value()==c.ExpectedIntersection.has_value())
Definition at line 107 of file test_block_additional.cpp.
Referenced by KI_TEST::RunAdditionalObjectTest().