Skip to content

Commit

Permalink
some more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasgeniar committed May 11, 2020
1 parent ecb033e commit 1330777
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/PercentageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public function it_can_calculate_simple_percentage_differences()
$this->assertEquals(-20, Percentage::differenceBetween(100, 80));

$this->assertEquals(20, Percentage::absoluteDifferenceBetween(100, 80));

$this->assertEquals(-48, round(Percentage::differenceBetween(862, 447), 0));
}

/** @test */
Expand Down

0 comments on commit 1330777

Please sign in to comment.