ebiten/graphics/matrix/color_test.go
2014-12-06 23:03:17 +09:00

16 lines
234 B
Go

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