Commit 5251bde1 authored by Boris Mühmer's avatar Boris Mühmer
Browse files

updated tests

parent 61ac62b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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")
+1 −1
Original line number Diff line number Diff line
@@ -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")
+1 −1
Original line number Diff line number Diff line
@@ -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")