/** * @dataProvider provider */ public function testCalcTestScore($score, $testanswers) { $result = TestController::calcTestScore($this->questions, $this->answers, $testanswers); $this->assertEquals($score, $result); }
/** * @dataProvider provider */ public function testCalcTestScore($score, $testanswers) { $result = TestController::calcTestScore($this->questions, $this->answers, $testanswers); $this->assertEquals($score, $result); }