Skip to content

Commit 1330777

Browse files
committed
some more tests
1 parent ecb033e commit 1330777

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/PercentageTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ public function it_can_calculate_simple_percentage_differences()
1515
$this->assertEquals(-20, Percentage::differenceBetween(100, 80));
1616

1717
$this->assertEquals(20, Percentage::absoluteDifferenceBetween(100, 80));
18+
19+
$this->assertEquals(-48, round(Percentage::differenceBetween(862, 447), 0));
1820
}
1921

2022
/** @test */

0 commit comments

Comments
 (0)