Skip to content

Commit

Permalink
Clean up commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
rhargreaves committed Jul 23, 2024
1 parent cefed7d commit cf80a46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/test_note_priority.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "cmocka_inc.h"

#include "note_priority.h"
#include "debug.h"

static NotePriorityStack testStack;

Expand All @@ -15,15 +15,15 @@ static void test_note_priority_ignores_push_when_full(UNUSED void** state)
const u16 additive = 50;

for (u16 i = 0; i < NOTE_PRIORITY_LENGTH + 1; i++) {
// print_message("pushing %d\n", i + additive);
debug_message("pushing %d\n", i + additive);
note_priority_push(&testStack, i + additive);
}

for (s16 i = NOTE_PRIORITY_LENGTH - 1; i >= 0; i--) {
u8 item = note_priority_pop(&testStack);
u8 expected = i + additive;

// print_message("expected %d, popping %d\n", expected, item);
debug_message("expected %d, popping %d\n", expected, item);
assert_int_equal(item, expected);
}

Expand Down

0 comments on commit cf80a46

Please sign in to comment.