Created
August 12, 2018 06:37
-
-
Save maaretp/124a35a8cbc3e45a9c7cb113bd8685e6 to your computer and use it in GitHub Desktop.
CheckItem method for Gilded Rose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public GildedRose checkItem(String item, Integer sellin, Integer quality) { | |
Item[] items = new Item[] { new Item(item, sellin, quality) }; | |
GildedRose app = new GildedRose(items); | |
app.updateQuality(); | |
return app; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment