lib/performance_analysis: relax unit test expected results
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 4 Aug 2015 20:45:19 +0000 (16:45 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 4 Aug 2015 20:46:22 +0000 (16:46 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/performance_analysis.nit

index 1ca255b..8403ea7 100644 (file)
@@ -35,8 +35,8 @@
 # end
 #
 # assert sys.perfs["sleep 1ms"].count == 100
-# assert sys.perfs["sleep 1ms"].avg.is_approx(0.001, 0.0001)
-# assert sys.perfs["sleep 5ms"].avg.is_approx(0.005, 0.0005)
+# assert sys.perfs["sleep 1ms"].avg.is_approx(0.001, 0.001)
+# assert sys.perfs["sleep 5ms"].avg.is_approx(0.005, 0.005)
 # ~~~
 module performance_analysis