You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package conway_test
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
import (
|
|
. "github.com/meatballhat/box-o-sand/conway/go"
|
|
)
|
|
|
|
func TestNewGameOfLifeIsNonEmpty(t *testing.T) {
|
|
game := NewGameOfLife()
|
|
if game.Height < 1 || game.Width < 1 {
|
|
t.Fail()
|
|
}
|
|
}
|