File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ class GildedRose {
44 public static final String AGED_BRIE = "Aged Brie" ;
55 public static final String BACKSTAGE_PASSES = "Backstage passes to a TAFKAL80ETC concert" ;
66 public static final String SULFURAS = "Sulfuras, Hand of Ragnaros" ;
7+ public static final String CONJURED = "Conjured" ;
78 public static final int MAXIMUM_QUALITY = 50 ;
89 public static final int BACKSTAGE_PASS_THRESHOLD1 = 11 ;
910 public static final int BACKSTAGE_PASS_THRESHOLD2 = 6 ;
Original file line number Diff line number Diff line change @@ -120,4 +120,11 @@ void agedBrieMaximumQuality() {
120120 Item item = createAndUpdate (AGED_BRIE , -1 , 49 );
121121 assertEquals (MAXIMUM_QUALITY , item .quality );
122122 }
123+
124+ @ Test
125+ void conjuredDegradeTwiceAsFast () {
126+ Item item = createAndUpdate (CONJURED , 15 , 25 );
127+ assertEquals (23 , item .quality );
128+ }
129+
123130}
You can’t perform that action at this time.
0 commit comments