diff --git a/test_tui.c b/test_tui.c index c3e3d56..8b04f21 100644 --- a/test_tui.c +++ b/test_tui.c @@ -6,6 +6,13 @@ #include #include "tui.h" +// Mode definitions (mirrored from tui.c) +typedef enum { + MODE_NORMAL, + MODE_VISUAL, + MODE_MOVE +} UIMode; + // Test helper static Engine *create_test_engine(void) { Engine *engine = (Engine *)calloc(1, sizeof(Engine)); @@ -851,7 +858,6 @@ void test_paste_clips(void) { // Simulate yanking clip at position (1, 1) = clip 9 int yank_buffer[] = {9}; - int yank_count = 1; int selected_row = 3, selected_col = 3; // Paste at position (3, 3) = clip 27 // Calculate offset @@ -889,7 +895,6 @@ void test_paste_bounds_checking(void) { // Yank clip at position (7, 7) = clip 63 (bottom-right) int yank_buffer[] = {63}; - int yank_count = 1; int selected_row = 0, selected_col = 0; // Paste at top-left // Calculate offset