ebiten/graphics/matrix/color_test.go

16 lines
234 B
Go
Raw Normal View History

2013-06-20 18:47:39 +02:00
package matrix_test
import (
. "."
"testing"
)
func TestColorIdentity(t *testing.T) {
2014-12-06 15:03:17 +01:00
matrix := ColorI()
2013-06-20 18:47:39 +02:00
got := matrix.IsIdentity()
want := true
if want != got {
t.Errorf("matrix.IsIdentity() = %t, want %t", got, want)
}
}