ebiten/graphics/matrix/color_test.go
2013-10-12 22:33:55 +09:00

16 lines
241 B
Go

package matrix_test
import (
. "."
"testing"
)
func TestColorIdentity(t *testing.T) {
matrix := IdentityColor()
got := matrix.IsIdentity()
want := true
if want != got {
t.Errorf("matrix.IsIdentity() = %t, want %t", got, want)
}
}