public function test_get_set_fraction()
 {
     $step = new question_attempt_step();
     $step->set_fraction(0.5);
     $this->assertEquals(0.5, $step->get_fraction());
 }