mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:04:02 +03:00
Fix tests
This commit is contained in:
@@ -34,7 +34,7 @@ func TestFrameMagic(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestFrameDC(t *testing.T) {
|
||||
assert.Equal(t, int16(771), makeFrame().DC())
|
||||
assert.Equal(t, int16(770), makeFrame().DC())
|
||||
}
|
||||
|
||||
func TestFrameValid(t *testing.T) {
|
||||
@@ -45,6 +45,11 @@ func TestFrameValid(t *testing.T) {
|
||||
assert.False(t, frame.Valid())
|
||||
}
|
||||
|
||||
func TestFrameDoubleInvert(t *testing.T) {
|
||||
frame := makeFrame()
|
||||
assert.Equal(t, frame, frame.Invert().Invert())
|
||||
}
|
||||
|
||||
func TestFrameInvert(t *testing.T) {
|
||||
frame := makeFrame()
|
||||
reversed := frame.Invert()
|
||||
|
||||
Reference in New Issue
Block a user