From a458ca5997446f473a50a57cc41acdc68514cfd8 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 21 Jun 2009 23:42:37 +0000 Subject: [PATCH] add some tests darcs-hash:20090621234237-5007d-3369165ed90e214eafb87446e41934814eefcf0e.gz --- tests/goat.t | 4 ++++ tests/test.t | 32 +++++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 5 deletions(-) diff --git a/tests/goat.t b/tests/goat.t index 80f0c35..a9f3fad 100644 --- a/tests/goat.t +++ b/tests/goat.t @@ -12,6 +12,7 @@ //ibex.log.warn("rotate " + rot); } } + //ibex.log.error($yermom.path); + diff --git a/tests/test.t b/tests/test.t index 162aa96..30d7cc1 100644 --- a/tests/test.t +++ b/tests/test.t @@ -1,17 +1,39 @@ - + ibex.ui.frame = thisbox; - + + + + + + + + + + + + + + + // this thread makes things spin. var rot = 0; ibex.thread = function(f) { while(true) { ibex.thread.sleep(100); $blue.transform = "rotate(" + rot + ")"; - $blue.x = 100; - $blue.y = 100; + $blue.x = 200; + $blue.y = 200; + + $green.transform = "rotate(" + (rot) + ")"; + //$white.transform = "rotate(" + (2 * rot) + ")"; + $purple.transform = "rotate(" + (3 * rot) + ")"; + $greenx.transform = "rotate(" + (-1 * rot) + ")"; + //$whitex.transform = "rotate(" + (-2 * rot) + ")"; + $purplex.transform = "rotate(" + (-3 * rot) + ")"; + rot += 5; } } - + -- 1.7.10.4