diff --git a/Java/com/gildedrose/GildedRoseTest.regression_test.approved.txt b/Java/com/gildedrose/GildedRoseTest.regression_test.approved.txt index 19004387..c9853fe4 100644 --- a/Java/com/gildedrose/GildedRoseTest.regression_test.approved.txt +++ b/Java/com/gildedrose/GildedRoseTest.regression_test.approved.txt @@ -6,7 +6,7 @@ Aged Brie, 2, 0 Elixir of the Mongoose, 5, 7 Sulfuras, Hand of Ragnaros, 0, 80 Sulfuras, Hand of Ragnaros, -1, 80 -Backstage passes to a TAFKAL80ETC concert, 15, 200 +Backstage passes to a TAFKAL80ETC concert, 15, 20 Backstage passes to a TAFKAL80ETC concert, 10, 49 Backstage passes to a TAFKAL80ETC concert, 5, 49 Conjured Mana Cake, 3, 6 @@ -18,7 +18,7 @@ Aged Brie, 1, 1 Elixir of the Mongoose, 4, 6 Sulfuras, Hand of Ragnaros, 0, 80 Sulfuras, Hand of Ragnaros, -1, 80 -Backstage passes to a TAFKAL80ETC concert, 14, 200 +Backstage passes to a TAFKAL80ETC concert, 14, 21 Backstage passes to a TAFKAL80ETC concert, 9, 50 Backstage passes to a TAFKAL80ETC concert, 4, 50 Conjured Mana Cake, 2, 5 @@ -30,7 +30,7 @@ Aged Brie, 0, 2 Elixir of the Mongoose, 3, 5 Sulfuras, Hand of Ragnaros, 0, 80 Sulfuras, Hand of Ragnaros, -1, 80 -Backstage passes to a TAFKAL80ETC concert, 13, 200 +Backstage passes to a TAFKAL80ETC concert, 13, 22 Backstage passes to a TAFKAL80ETC concert, 8, 50 Backstage passes to a TAFKAL80ETC concert, 3, 50 Conjured Mana Cake, 1, 4 @@ -42,7 +42,7 @@ Aged Brie, -1, 4 Elixir of the Mongoose, 2, 4 Sulfuras, Hand of Ragnaros, 0, 80 Sulfuras, Hand of Ragnaros, -1, 80 -Backstage passes to a TAFKAL80ETC concert, 12, 200 +Backstage passes to a TAFKAL80ETC concert, 12, 23 Backstage passes to a TAFKAL80ETC concert, 7, 50 Backstage passes to a TAFKAL80ETC concert, 2, 50 Conjured Mana Cake, 0, 3 @@ -54,7 +54,7 @@ Aged Brie, -2, 6 Elixir of the Mongoose, 1, 3 Sulfuras, Hand of Ragnaros, 0, 80 Sulfuras, Hand of Ragnaros, -1, 80 -Backstage passes to a TAFKAL80ETC concert, 11, 200 +Backstage passes to a TAFKAL80ETC concert, 11, 24 Backstage passes to a TAFKAL80ETC concert, 6, 50 Backstage passes to a TAFKAL80ETC concert, 1, 50 Conjured Mana Cake, -1, 1 @@ -66,7 +66,7 @@ Aged Brie, -3, 8 Elixir of the Mongoose, 0, 2 Sulfuras, Hand of Ragnaros, 0, 80 Sulfuras, Hand of Ragnaros, -1, 80 -Backstage passes to a TAFKAL80ETC concert, 10, 200 +Backstage passes to a TAFKAL80ETC concert, 10, 25 Backstage passes to a TAFKAL80ETC concert, 5, 50 Backstage passes to a TAFKAL80ETC concert, 0, 50 Conjured Mana Cake, -2, 0 @@ -78,7 +78,7 @@ Aged Brie, -4, 10 Elixir of the Mongoose, -1, 0 Sulfuras, Hand of Ragnaros, 0, 80 Sulfuras, Hand of Ragnaros, -1, 80 -Backstage passes to a TAFKAL80ETC concert, 9, 200 +Backstage passes to a TAFKAL80ETC concert, 9, 27 Backstage passes to a TAFKAL80ETC concert, 4, 50 Backstage passes to a TAFKAL80ETC concert, -1, 0 Conjured Mana Cake, -3, 0 @@ -90,7 +90,7 @@ Aged Brie, -5, 12 Elixir of the Mongoose, -2, 0 Sulfuras, Hand of Ragnaros, 0, 80 Sulfuras, Hand of Ragnaros, -1, 80 -Backstage passes to a TAFKAL80ETC concert, 8, 200 +Backstage passes to a TAFKAL80ETC concert, 8, 29 Backstage passes to a TAFKAL80ETC concert, 3, 50 Backstage passes to a TAFKAL80ETC concert, -2, 0 Conjured Mana Cake, -4, 0 @@ -102,7 +102,7 @@ Aged Brie, -6, 14 Elixir of the Mongoose, -3, 0 Sulfuras, Hand of Ragnaros, 0, 80 Sulfuras, Hand of Ragnaros, -1, 80 -Backstage passes to a TAFKAL80ETC concert, 7, 200 +Backstage passes to a TAFKAL80ETC concert, 7, 31 Backstage passes to a TAFKAL80ETC concert, 2, 50 Backstage passes to a TAFKAL80ETC concert, -3, 0 Conjured Mana Cake, -5, 0 @@ -114,7 +114,7 @@ Aged Brie, -7, 16 Elixir of the Mongoose, -4, 0 Sulfuras, Hand of Ragnaros, 0, 80 Sulfuras, Hand of Ragnaros, -1, 80 -Backstage passes to a TAFKAL80ETC concert, 6, 200 +Backstage passes to a TAFKAL80ETC concert, 6, 33 Backstage passes to a TAFKAL80ETC concert, 1, 50 Backstage passes to a TAFKAL80ETC concert, -4, 0 Conjured Mana Cake, -6, 0 diff --git a/Java/com/gildedrose/TexttestFixture.java b/Java/com/gildedrose/TexttestFixture.java index 43fdb1b4..5aee1860 100644 --- a/Java/com/gildedrose/TexttestFixture.java +++ b/Java/com/gildedrose/TexttestFixture.java @@ -24,7 +24,7 @@ public class TexttestFixture { new Item("Elixir of the Mongoose", 5, 7), // new Item("Sulfuras, Hand of Ragnaros", 0, 80), // new Item("Sulfuras, Hand of Ragnaros", -1, 80), - new Item("Backstage passes to a TAFKAL80ETC concert", 15, 200), + new Item("Backstage passes to a TAFKAL80ETC concert", 15, 20), new Item("Backstage passes to a TAFKAL80ETC concert", 10, 49), new Item("Backstage passes to a TAFKAL80ETC concert", 5, 49), // this conjured item does not work properly yet