Modifing the tests to use a fake cartridge

This commit is contained in:
AnonymusRaccoon
2020-02-10 16:19:44 +01:00
parent a25daa18b6
commit 0e5dcc1cac
8 changed files with 63 additions and 54 deletions

View File

@@ -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();