Skip to content

Commit

Permalink
Update BRK tests to verify cycle count
Browse files Browse the repository at this point in the history
  • Loading branch information
Shock9616 committed Nov 26, 2024
1 parent 394ef08 commit 1f59d27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/execute_instruction_brk_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ void test_instr_brk() {
CU_ASSERT_EQUAL(memory[0x01FF], 0x06);
CU_ASSERT_EQUAL(memory[0x01FE], 0x02);
CU_ASSERT_EQUAL(memory[0x01FD], 0x32);
CU_ASSERT_EQUAL(cycles, 7);
}

// ---------- Run Tests ----------
Expand Down

0 comments on commit 1f59d27

Please sign in to comment.