From a4744a40cde30066479e7594a1df2ef76fd7ad2f Mon Sep 17 00:00:00 2001 From: Melefo <42809472+Melefo@users.noreply.github.com> Date: Thu, 11 Feb 2021 10:29:55 +0100 Subject: [PATCH] Removing impossible test as every value is an instruction opcode --- tests/APU/testAPU.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/APU/testAPU.cpp b/tests/APU/testAPU.cpp index 2c54013..767beb5 100644 --- a/tests/APU/testAPU.cpp +++ b/tests/APU/testAPU.cpp @@ -203,15 +203,6 @@ Test(executeInstruction, Valid) cr_assert_eq(result, 2); } -Test(executeInstruction, Invalid) -{ - Init() - auto apu = snes.apu; - - apu->_internalRegisters.pc = 0xFFFF; - cr_assert_throw(apu->_executeInstruction(), InvalidOpcode); -} - /////////////////////// // // // APU::update tests //