Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/fi/
Binary file modified bin/fi/oulu/tol/sqat/GildedRose.class
Binary file not shown.
Binary file modified bin/fi/oulu/tol/sqat/tests/GildedRoseTest.class
Binary file not shown.
18 changes: 12 additions & 6 deletions src/fi/oulu/tol/sqat/GildedRose.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

public class GildedRose {

private static final Item ITEM6 = new Item("Conjured Mana Cake", 3, 6);
private static final Item ITEM5 = new Item("Backstage passes to a TAFKAL80ETC concert", 15, 20);
private static final Item ITEM4 = new Item("Sulfuras, Hand of Ragnaros", 0, 80);
private static final Item ITEM3 = new Item("Elixir of the Mongoose", 5, 7);
private static final Item ITEM2 = new Item("Aged Brie", 2, 0);
private static final Item ITEM = new Item("+5 Dexterity Vest", 10, 20);
private static List<Item> items = null;

/**
Expand All @@ -16,12 +22,12 @@ public static void main(String[] args) {
System.out.println("OMGHAI!");

items = new ArrayList<Item>();
items.add(new Item("+5 Dexterity Vest", 10, 20));
items.add(new Item("Aged Brie", 2, 0));
items.add(new Item("Elixir of the Mongoose", 5, 7));
items.add(new Item("Sulfuras, Hand of Ragnaros", 0, 80));
items.add(new Item("Backstage passes to a TAFKAL80ETC concert", 15, 20));
items.add(new Item("Conjured Mana Cake", 3, 6));
items.add(ITEM);
items.add(ITEM2);
items.add(ITEM3);
items.add(ITEM4);
items.add(ITEM5);
items.add(ITEM6);

updateQuality();
}
Expand Down
6 changes: 6 additions & 0 deletions src/fi/oulu/tol/sqat/tests/GildedRoseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ public class GildedRoseTest {
public void testTheTruth() {
assertTrue(true);
}

@Test
public void testVest(){
//GildedRose store = new GildedRose();

}
}