mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-11 20:02:09 +00:00
Why:
- The current version isn't implemented properly.
Additional information:
- This is the result of my local test run (test omitted since
they're a part of the kata):
GildedRoseTest
* test update_quality/1 Aged Brie actually increases in Quality
the older it gets
* test Backstage passes Quality increases by 2 when there are
10 days or less
* test update_quality/1 the quality of an item is never negative
* test update_quality/1 degrades the quality when a day passes
* test Backstage passes Quality increases by 3 when there are 5
days or less
* test update_quality/1 when sell date is passed it degrades twice
as fast
* test Backstage passes Quality increases by 1 when sell_in is
larger than 10
* test update_quality/1 does not change the name
* test update_quality/1 The Quality of an item is never more than 50
* test update_quality/1 Sulfuras, being a legendary item, never has
to be sold or decreases in Quality
* test Backstage passes Quality drops to 0 after the concert
11 tests, 0 failures
|
||
|---|---|---|
| .. | ||
| config | ||
| lib | ||
| test | ||
| mix.exs | ||