aboutsummaryrefslogtreecommitdiff
path: root/unicorn/Unicorn_test2.go
diff options
context:
space:
mode:
authorMartin Ashby <martin@martin-laptop.lan>2018-05-28 11:40:30 +0100
committerMartin Ashby <martin@martin-laptop.lan>2018-05-28 11:40:30 +0100
commit4ec7e493520d558dd05e911b58ea354d25f33f45 (patch)
tree0097c34ae8ba15c2d812e1da4ab42aad7d5097d0 /unicorn/Unicorn_test2.go
parente6060fb69c32dcdf5904793e61e4b272bbd79de2 (diff)
downloadunicornpaint-4ec7e493520d558dd05e911b58ea354d25f33f45.tar.gz
unicornpaint-4ec7e493520d558dd05e911b58ea354d25f33f45.tar.bz2
unicornpaint-4ec7e493520d558dd05e911b58ea354d25f33f45.tar.xz
unicornpaint-4ec7e493520d558dd05e911b58ea354d25f33f45.zip
Started animated implementation
Diffstat (limited to 'unicorn/Unicorn_test2.go')
-rw-r--r--unicorn/Unicorn_test2.go21
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()
+}