mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-18 16:01:42 +00:00
Extra test
This commit is contained in:
parent
116e9b12a5
commit
e82d1fdf79
@ -9,7 +9,7 @@ class GildedRose {
|
||||
|
||||
public void updateQuality() {
|
||||
for (int i = 0; i < items.length; i++) {
|
||||
System.out.println(items[i].getClass());
|
||||
// System.out.println(items[i].getClass());
|
||||
items[i] = items[i].updateQuality(items[i]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,7 +6,9 @@ public class TestItems {
|
||||
|
||||
Item[] items = new Item[] {
|
||||
new AgedBrie("Aged Brie", 2, 0), //
|
||||
new Sulfuras("Sulfuras", 10, 5) //
|
||||
new Sulfuras("Sulfuras", 10, 5), //
|
||||
new BackStagePass("BackStagePass", 20, 20)
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user