mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-09-20 05:12:18 +02:00
16 lines
240 B
Go
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)
|
|
}
|
|
}
|