public function testPercentageMethods() { $num = new Number(50); $percent = $num->of(100); $this->assertEquals(50, $percent->getValue()); $another_num = $num->is($percent); $this->assertEquals(100, $another_num->getValue()); }
public function testPercentageMethods() { $num = new Number(50); $percent = $num->of(100); $this->assertEquals(50, $percent->getValue()); $another_num = $num->is($percent); $this->assertEquals(100, $another_num->getValue()); }