public function testSquare(MathTester $I) { $I->assertEquals(3, $this->calc->squareOfCircle(1)); $I->assertEquals(12, $this->calc->squareOfCircle(2)); }
public function testAll() { $this->assertEquals(3, $this->calc->add(1, 2)); $this->assertEquals(1, $this->calc->subtract(3, 2)); $this->assertEquals(75, $this->calc->squareOfCircle(5)); }