mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-20 14:15:11 +00:00
Modifing the tests to use a fake cartridge
This commit is contained in:
@@ -9,6 +9,12 @@
|
||||
using namespace ComSquare;
|
||||
|
||||
|
||||
Test(AddrModeInit, LegitBus)
|
||||
{
|
||||
auto pair = Init();
|
||||
cr_assert_eq(pair.first.get(), pair.second.cpu->_bus.get(), "Warning, the CPU's bus is not the same the SNES's bus. Next tests of the CPU may fail.");
|
||||
}
|
||||
|
||||
Test(AddrMode, Immediate)
|
||||
{
|
||||
auto pair = Init();
|
||||
|
||||
Reference in New Issue
Block a user