mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-07 11:45:07 +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