Loading cell/fish/fish_test.go +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ package fish import "testing" func TestFish(t *testing.T) { f := &Fish{} f := New(0) if f == nil { t.Errorf("failed to create a new fish") Loading cell/shark/shark_test.go +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ package shark import "testing" func TestShark(t *testing.T) { s := &Shark{} s := New(0, 0) if s == nil { t.Errorf("failed to create a new shark") Loading cell/water/water_test.go +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ package water import "testing" func TestWater(t *testing.T) { w := &Water{} w := New() if w == nil { t.Errorf("failed to create a new water") Loading Loading
cell/fish/fish_test.go +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ package fish import "testing" func TestFish(t *testing.T) { f := &Fish{} f := New(0) if f == nil { t.Errorf("failed to create a new fish") Loading
cell/shark/shark_test.go +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ package shark import "testing" func TestShark(t *testing.T) { s := &Shark{} s := New(0, 0) if s == nil { t.Errorf("failed to create a new shark") Loading
cell/water/water_test.go +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ package water import "testing" func TestWater(t *testing.T) { w := &Water{} w := New() if w == nil { t.Errorf("failed to create a new water") Loading