ebiten/colormatrix_test.go
2014-12-09 22:19:30 +09:00

16 lines
240 B
Go

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