From cf80a460fec1875488496312feff780cd0ef0cf3 Mon Sep 17 00:00:00 2001 From: Robert Hargreaves Date: Tue, 23 Jul 2024 20:43:18 +0100 Subject: [PATCH] Clean up commented out code --- tests/unit/test_note_priority.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/test_note_priority.c b/tests/unit/test_note_priority.c index 3719667..3d2ade4 100644 --- a/tests/unit/test_note_priority.c +++ b/tests/unit/test_note_priority.c @@ -1,6 +1,6 @@ #include "cmocka_inc.h" - #include "note_priority.h" +#include "debug.h" static NotePriorityStack testStack; @@ -15,7 +15,7 @@ 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); } @@ -23,7 +23,7 @@ static void test_note_priority_ignores_push_when_full(UNUSED void** state) 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); }