Fix trigger test case to round-off
@@ -194,7 +194,7 @@ public class TriggerTestCase {
count++;
if (count > 1) {
float triggerTimeDiff = timestamp / 1000 - lastTimeStamp / 1000;
- AssertJUnit.assertTrue(1.0f == triggerTimeDiff);
+ AssertJUnit.assertTrue(1 == Math.round(triggerTimeDiff));
}
lastTimeStamp = timestamp;
}
