test: update samples 17/233617/1
authorHermet Park <chuneon.park@samsung.com>
Sun, 17 May 2020 11:52:58 +0000 (20:52 +0900)
committerHermet Park <chuneon.park@samsung.com>
Sun, 17 May 2020 11:52:58 +0000 (20:52 +0900)
fix some broken test code.

Change-Id: I42b0dd8b4c599ea59e0860a40b828936dca1e54d

test/testDirectUpdate.cpp
test/testTransform.cpp

index 735231a..799d135 100644 (file)
@@ -25,9 +25,9 @@ void tvgtest()
 
     shape->appendRect(-100, -100, 200, 200, 0);
 
-    //fill and rotate properties will be retained
+    //fill property will be retained
     shape->fill(127, 255, 255, 255);
-    shape->rotate(45);
+
     canvas->push(move(shape));
 
     //Draw first frame
index 48d496b..0a126cc 100644 (file)
@@ -75,7 +75,7 @@ void transit_cb(Elm_Transit_Effect *effect, Elm_Transit* transit, double progres
     pShape2->translate(400 + progress * 300, 400);
     canvas->update(pShape2);
 
-    //Update Shape2
+    //Update Shape3
     pShape3->rotate(-360 * progress);
     pShape3->scale(0.5 + progress);
     canvas->update(pShape3);