This commit is contained in:
Madison Rye Progress
2026-03-18 23:01:19 -07:00
parent 30812e9763
commit 0ec93d0a1d
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import (
func TestCursor(t *testing.T) {
Convey("Given a cursor", t, func() {
s := New(4, 4)
s := New(4, 4, false)
So(*s.cursor, ShouldResemble, Point{0, 0})
Convey("When moving cell to cell", func() {

View File

@ -12,7 +12,7 @@ func TestHistory(t *testing.T) {
Convey("Given a game's history", t, func() {
Convey("You can maintain a history of all actions", func() {
s := New(2, 2)
s := New(2, 2, false)
s.Flag()
s.Mark()
s.Clear()

View File

@ -10,7 +10,7 @@ import (
func TestState(t *testing.T) {
Convey("Given a game state", t, func() {
s := New(2, 2)
s := New(2, 2, false)
for x := 0; x < 4; x++ {
for y := 0; y < 4; y++ {
s.cells.kill(Point{x, y})