diff options
Diffstat (limited to 'unicorn/Unicorn_test2.go')
-rw-r--r-- | unicorn/Unicorn_test2.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/unicorn/Unicorn_test2.go b/unicorn/Unicorn_test2.go new file mode 100644 index 0000000..74cffd1 --- /dev/null +++ b/unicorn/Unicorn_test2.go @@ -0,0 +1,21 @@ +package unicorn + +import ( + "testing" +) + +func TestAnimated(t *testing.T) { + // data, err := Asset("sample.gif") + // if err != nil { + // t.Errorf("Failed to load asset %v", err) + // } + + // g, err := gif.DecodeAll(bytes.NewReader(data)) + // if err != nil { + // t.Errorf("Failed to decode gif from asset %v", err) + // } + + // un := unicorn.NewUnicorn2() + // un.SetGif(g) + // un.MainLoop() +} |