常用方法
常用方法
常用方法
常用方法
public function testDuration() { $exam = new Exam(); $duration = 80; $exam->setDuration($duration); $exam->start(); $this->assertEquals($exam->remainingTime(), $duration * 60); }
public function testDuration() { $exam = new Exam(); $duration = 80; $exam->setDuration($duration); $exam->start(); $this->assertEquals($exam->remainingTime(), $duration * 60); }