diff options
Diffstat (limited to 'tests/questiontype_test.php')
-rw-r--r-- | tests/questiontype_test.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/questiontype_test.php b/tests/questiontype_test.php index bd53a47..ee19d6b 100644 --- a/tests/questiontype_test.php +++ b/tests/questiontype_test.php @@ -68,8 +68,7 @@ class qtype_algebra_test extends advanced_testcase { public function test_get_random_guess_score() { $q = test_question_maker::get_question_data('algebra'); - $q->options->answers[14]->fraction = 0.1; - $this->assertEquals(0.1, $this->qtype->get_random_guess_score($q)); + $this->assertEquals(0, $this->qtype->get_random_guess_score($q)); } public function test_get_possible_responses() { |