Permalink
Browse files

MDL-42704 quiz statistics: make test more tolerant

  • Loading branch information...
danpoltawski committed Nov 8, 2013
1 parent 379cbb4 commit f9dc4bd78b6f1f20f9a2bc2067ffe534eb743a5a
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/report/statistics/tests/stats_from_steps_walkthrough_test.php
@@ -113,7 +113,7 @@ public function test_walkthrough_from_csv($quizsettings, $csvdata) {
);
foreach ($quizstatsexpected as $statname => $statvalue) {
$this->assertEquals($statvalue, $quizstats->$statname, $quizstats->$statname, abs($statvalue) * 1e-5);
$this->assertEquals($statvalue, $quizstats->$statname, $quizstats->$statname, abs($statvalue) * 1.5e-5);
}
for ($rowno = 0; $rowno < $csvdata['qstats']->getRowCount(); $rowno++) {

0 comments on commit f9dc4bd

Please sign in to comment.