ichigo/engine/game_test.go

13 lines
231 B
Go
Raw Normal View History

2021-09-27 17:15:51 +10:00
package engine
import "testing"
func TestGameLoadAndPrepare(t *testing.T) {
g := &Game{
Root: fakeDrawBoxer("fake"),
}
if err := g.LoadAndPrepare(nil); err != nil {
t.Errorf("LoadAndPrepare(nil) = %v, want nil", err)
}
}