mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-06 21:27:12 +00:00
Adding a memory write test
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user