src/test/java/com/gildedrose/GildedRoseTest.java
//Rule #5 : "Sulfuras", being a legendary item, never has to be sold or decreases in Quality
Rule #5 : "Sulfuras", being a legendary item, never has to be sold or decreases in Quality
Rule #5 : " Sulfuras " being a legendary item never has to be sold or decreases in Quality
@Test
    public void sulfurasQuality() {
        Item[] items = new Item[] { new Item("Sulfuras, Hand of Ragnaros", 10, 80) };
        GildedRose app = new GildedRose(items);
        app.updateQuality();
        assertTrue(app.items[0].quality == 80);
    }
@ Test public void sulfurasQuality ( ) { Item [ ] items = new Item [ ] { new Item ( "Sulfuras, Hand of Ragnaros" , 10 , 80 ) } ; GildedRose app = new GildedRose ( items ) ; app . updateQuality ( ) ; assertTrue ( app . items [ 0 ] . quality == 80 ) ; }
Rule #5 : "Sulfuras", being a legendary item, never has to be sold or decreases in Quality
Rule #5 : " Sulfuras " being a legendary item never has to be sold or decreases in Quality