use fmt; fn printBitboard(bb: u64) void = { for (let i = 0; i < 64; i+= 1) { fmt::printfln("{}", ((bb >> i) & 1) && '1' || '.'); }; // if ((index + 1) % 8 == 0) { // }; }; @test fn printBitboard() void = { let bb: u64 = 123u64; printBitboard(bb); };