day22: initial block setting

This commit is contained in:
efim
2023-12-22 09:24:43 +00:00
parent 7b34b52e5e
commit 3ede691333
5 changed files with 129 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ func TestReadBlock(t *testing.T) {
1,1,8~1,1,9`
for _, line := range strings.Split(lines, "\n") {
b := ReadBlock(line)
b := ReadBlock(line, 0)
t.Logf("read %s into block %+v", line, b)
t.Logf("XY coords for %+v are : %+v", b, b.getXY())
}