public function testCalculate() { $mult = new Multiplication(); $this->assertEquals(12, $mult->calculate(3, 4)); $this->assertEquals(-12, $mult->calculate(3, -4)); }
public function testMultipliesNumbers() { $multiplication = new Multiplication(); $result = $multiplication->run(10, 5); $this->assertSame(50, $result); }