authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-02-28 15:05:24 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-02-28 15:05:24 -08:00
log2f7ad3d5f8d1d233e65ae08cf03c60564914b1df
tree2a64ce8c17c76a9d3c5b858f6a87805e48cfbce9
parenteb448ff91847e04a8d2bfb502a02b75cfd1080c7

remove this debug print in the test


1 files changed, 0 insertions(+), 23 deletions(-)

test.zig-23
...@@ -35,27 +35,4 @@ test {...@@ -35,27 +35,4 @@ test {
35 // a5 22 a6 8e ea 9a 39 e9 6e 95 c4 f3 af 9c 66 4a35 // a5 22 a6 8e ea 9a 39 e9 6e 95 c4 f3 af 9c 66 4a
36 // 30 68 2b d1 03 dd b7 00 ec 1136 // 30 68 2b d1 03 dd b7 00 ec 11
37 _ = &grid;37 _ = &grid;
38
39 const bg_black = "\x1b[40m";
40 const bg_white = "\x1b[47m";
41 const bg_blue = "\x1b[44m";
42 const bg_reset = "\x1b[49m";
43
44 const fg_black = "\x1b[30m";
45 const fg_white = "\x1b[37m";
46 const fg_reset = "\x1b[39m";
47
48 for (0..grid.size) |y| {
49 for (0..grid.size) |x| {
50 std.debug.print("{s}", .{if (grid.hasSet(x, y))
51 if (grid.isSet(x, y))
52 bg_black ++ fg_black ++ "██"
53 else
54 bg_white ++ fg_white ++ " "
55 else
56 bg_blue ++ fg_white ++ " -"});
57 }
58 std.debug.print("{s}", .{fg_reset ++ bg_reset});
59 std.debug.print("\n", .{});
60 }
61}38}