Adding a memory write test

This commit is contained in:
Melefo
2020-02-07 14:23:07 +01:00
parent 5834786f8d
commit 3c6f277c21

View File

@@ -346,9 +346,12 @@ Test(BusRead, ReadWRAM)
// //
////////////////////////////
Test(BusWrite, )
Test(BusWrite, WriteAPU)
{
auto pair = Init();
pair.first.write(0x002143, 123);
cr_assert_eq(pair.second.apu->_registers.port3, 123);
}
////////////////////////////////////