Skip to content

Commit

Permalink
Fix unit test and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
hxtree committed Aug 18, 2021
1 parent 1683b63 commit 13bdc54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ All releases must adhere to [SemVer 2](https://semver.org/) naming convention an
## LivingMarkup [Unreleased]
Released: TBD. Notable changes:

## LivingMarkup 1.2.0
Released: 2021-08-18. Notable changes: [1683b63](https://github.com/Ouxsoft/LuckByDice/commit/1683b639ab0e06b595b9bcfb7d201285fee7e52d)
* Added: Min and Max potential calculations to cup and collection.

## LivingMarkup 1.0.0
Released: 2021-07-26. Notable changes:
* Removed: Pimple/Pimple container dependency [bec5ae2](https://github.com/Ouxsoft/LuckByDice/commit/bec5ae219a100f986b180926d523707192ca79a0).
Expand Down
4 changes: 2 additions & 2 deletions tests/src/Unit/CollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function testGetMaxOutcome()
public function testGetMinPotential()
{
$minPotential = $this->collection->getMinPotential();
$this->assertEquals(10, $minPotential);
$this->assertEquals(18, $minPotential);
}

/**
Expand All @@ -138,7 +138,7 @@ public function testGetMinPotential()
public function testGetMaxPotential()
{
$maxPotential = $this->collection->getMaxPotential();
$this->assertEquals(30, $maxPotential);
$this->assertEquals(78, $maxPotential);
}

/**
Expand Down

0 comments on commit 13bdc54

Please sign in to comment.