We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecb033e commit 1330777Copy full SHA for 1330777
tests/PercentageTest.php
@@ -15,6 +15,8 @@ public function it_can_calculate_simple_percentage_differences()
15
$this->assertEquals(-20, Percentage::differenceBetween(100, 80));
16
17
$this->assertEquals(20, Percentage::absoluteDifferenceBetween(100, 80));
18
+
19
+ $this->assertEquals(-48, round(Percentage::differenceBetween(862, 447), 0));
20
}
21
22
/** @test */
0 commit comments