ebiten/colormatrix_test.go

16 lines
240 B
Go
Raw Normal View History

2014-12-09 14:09:22 +01:00
package ebiten_test
2013-06-20 18:47:39 +02:00
import (
. "."
"testing"
)
func TestColorIdentity(t *testing.T) {
2014-12-09 14:09:22 +01:00
ebiten := ColorMatrixI()
got := ebiten.IsIdentity()
2013-06-20 18:47:39 +02:00
want := true
if want != got {
t.Errorf("matrix.IsIdentity() = %t, want %t", got, want)
}
}