day22: initial block setting
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user