Coverage 100%

This commit is contained in:
Madison Rye Progress
2026-03-18 14:33:57 -07:00
parent 3f1053ea61
commit bbc87afee1
5 changed files with 15 additions and 20 deletions

View File

@ -48,6 +48,13 @@ func TestState(t *testing.T) {
})
})
Convey("You can get the score", func() {
score := s.Score()
So(score.Clears, ShouldEqual, 0)
So(score.Score, ShouldEqual, 0)
So(score.Blackout, ShouldResemble, []bool{false, false, false, false})
})
Convey("You can complete sections and clear portions of the board", func() {
s.cells.vivify(Point{0, 0})
s.cells.vivify(Point{2, 0})