nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
673de41
)
lib/performance_analysis: relax unit test expected results
author
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 4 Aug 2015 20:45:19 +0000
(16:45 -0400)
committer
Alexis 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
patch
|
blob
|
history
diff --git
a/lib/performance_analysis.nit
b/lib/performance_analysis.nit
index
1ca255b
..
8403ea7
100644
(file)
--- a/
lib/performance_analysis.nit
+++ b/
lib/performance_analysis.nit
@@
-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