From dadbea9c927a4951b2322c624fbbe54e6d1ed93b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Sun, 23 May 2021 23:19:07 +0200 Subject: [PATCH] resetting cr_expect to cr_assert --- tests/CPU/testDMA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CPU/testDMA.cpp b/tests/CPU/testDMA.cpp index d286c9a..e661701 100644 --- a/tests/CPU/testDMA.cpp +++ b/tests/CPU/testDMA.cpp @@ -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); } }