day22, part1, struggle

This commit is contained in:
efim
2023-12-22 12:19:12 +00:00
parent 2b3c7f4ca6
commit 45d03e5ab3
7 changed files with 192 additions and 15 deletions

View File

@@ -85,3 +85,22 @@ func TestSpaceExampleSettleAll(t *testing.T) {
// i guess we can start with set of all blocks, then?
// run over all, if some block is only supported by some underBlock - remove that underblock
}
func TestPinholeStart(t *testing.T) {
TestPinhole()
}
func TestExampleSpacePrint(t *testing.T) {
filename := "example"
blocks := ReadBlockFile(filename)
byZ := BlocksByZ(blocks)
space := NewSpace(byZ)
// PrintSpace(space, "before-settping.png")
space.SettleAll()
PrintSpace(space, "after-settping.png")
}