resetting cr_expect to cr_assert

This commit is contained in:
Clément Le Bihan
2021-05-23 23:19:07 +02:00
parent 11d0f35e07
commit dadbea9c92
+1 -1
View File
@@ -69,7 +69,7 @@ Test(DMA, VramWrite)
}
for(unsigned i = 0; i < 0x400; i++) {
uint16_t value = snes.ppu->vram->_data[0x2000 * 2 + i * 2] | (snes.ppu->vram->_data[0x2000 * 2 + i * 2 + 1] << 8);
cr_expect_eq(value, (uint16_t)i, "The memory at %x should be %x but it was %x", 0x2000 + i, (uint16_t)i, value);
cr_assert_eq(value, (uint16_t)i, "The memory at %x should be %x but it was %x", 0x2000 + i, (uint16_t)i, value);
}
}