[NUI][Non-ACR][Add epsilon same as native TC] 60/214960/1
authordongsug.song <dongsug.song@samsung.com>
Mon, 30 Sep 2019 07:31:46 +0000 (16:31 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Mon, 30 Sep 2019 07:31:46 +0000 (16:31 +0900)
Change-Id: I3e425342f46ce6ced0c944f1dd9dd0309a0ec90b

tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs

index 37b5e9d..a92913d 100755 (executable)
@@ -566,9 +566,11 @@ namespace Tizen.NUI.Tests
 
             await Task.Delay(1020);
             animation.Clear();
-            await Task.Delay(100);
-            Assert.AreEqual(1.0f, actor.PositionX, "The PositionX of the actor is not correct here!");
-
+            await Task.Delay(100);\r
+\r
+            //in native TC code of utc-dali-animation-common.cpp, const float ANIMATION_EPSILON = 0.0001f;\r
+            const float ANIMATION_EPSILON = 0.0001f;\r
+            Assert.AreEqual(1.0f, actor.PositionX, ANIMATION_EPSILON, "The PositionX of the actor is not correct here!");\r
         }