mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 14:31:28 +00:00
quality limites
This commit is contained in:
parent
220b20237a
commit
8157a26c4b
@ -18,8 +18,8 @@
|
|||||||
-[x] "Backstage passes", like aged brie, increases in Quality as its SellIn value approaches;
|
-[x] "Backstage passes", like aged brie, increases in Quality as its SellIn value approaches;
|
||||||
-[x] Quality increases by 2 when there are 10 days or less and by 3 when there are 5 days or less but
|
-[x] Quality increases by 2 when there are 10 days or less and by 3 when there are 5 days or less but
|
||||||
-[x] Quality drops to 0 after the concert
|
-[x] Quality drops to 0 after the concert
|
||||||
-[ ] an item can never have its Quality increase above 50
|
-[x] an item can never have its Quality increase above 50
|
||||||
-[] however "Sulfuras" is a legendary item and as such its Quality is 80 and it never alters.
|
-[x] however "Sulfuras" is a legendary item and as such its Quality is 80 and it never alters.
|
||||||
|
|
||||||
## Technical Issues, with a balanced priority
|
## Technical Issues, with a balanced priority
|
||||||
-[ ]
|
-[ ]
|
||||||
|
|||||||
@ -126,7 +126,7 @@ public class GildedRoseTest {
|
|||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@DisplayName("Backstage passes")
|
@DisplayName("Backstage passes")
|
||||||
class BaskstagePasses{
|
class BackstagePasses{
|
||||||
@Test
|
@Test
|
||||||
@DisplayName("Quality increases by 2 when there are 10 days or less and by 3 when there are 5 days or less but")
|
@DisplayName("Quality increases by 2 when there are 10 days or less and by 3 when there are 5 days or less but")
|
||||||
public void shouldIncreaseQualityBasedOnSellIn() {
|
public void shouldIncreaseQualityBasedOnSellIn() {
|
||||||
@ -191,5 +191,4 @@ public class GildedRoseTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user