From: dongsug.song Date: Mon, 30 Sep 2019 07:31:46 +0000 (+0900) Subject: [NUI][Non-ACR][Add epsilon same as native TC] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F214960%2F1;p=test%2Ftct%2Fcsharp%2Fapi.git [NUI][Non-ACR][Add epsilon same as native TC] Change-Id: I3e425342f46ce6ced0c944f1dd9dd0309a0ec90b --- diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs index 37b5e9d..a92913d 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs @@ -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); + + //in native TC code of utc-dali-animation-common.cpp, const float ANIMATION_EPSILON = 0.0001f; + const float ANIMATION_EPSILON = 0.0001f; + Assert.AreEqual(1.0f, actor.PositionX, ANIMATION_EPSILON, "The PositionX of the actor is not correct here!"); }