Gather data

This commit is contained in:
mike
2026-01-10 00:55:32 +01:00
parent 4f42c613a0
commit a444f943b9
4 changed files with 19 additions and 57 deletions

View File

@@ -2,6 +2,7 @@ package puzzle;
import org.junit.jupiter.api.Test;
import puzzle.Export.Gridded;
import puzzle.Export.Placed;
import puzzle.Export.Rewards;
import puzzle.Export.PuzzleResult;
import puzzle.SwedishGenerator.FillResult;
@@ -53,7 +54,7 @@ public class ExportFormatTest {
assertEquals(1, exported.words().length);
var w = exported.words()[0];
assertEquals("TEST", w.word());
assertEquals("h", w.direction());
assertEquals(Placed.HORIZONTAL, w.direction());
// The bounding box should include (0,0) for the arrow and (0,1)-(0,4) for the word.
// minR=0, maxR=0, minC=0, maxC=4