add very basic texttest firxture for JavaScript

This commit is contained in:
Peter Kofler committed 2014-05-02 14:52:25 +02:00
1 parent 4967a5606d
commit 5af2bcd4ac
2 files changed
+54 -7

No files matched your search

-7
View File
@@ -6,13 +6,6 @@ function Item(name, sell_in, quality) {
var items = []
items.push(new Item('+5 Dexterity Vest', 10, 20));
items.push(new Item('Aged Brie', 2, 0));
items.push(new Item('Elixir of the Mongoose', 5, 7));
items.push(new Item('Sulfuras, Hand of Ragnaros', 0, 80));
items.push(new Item('Backstage passes to a TAFKAL80ETC concert', 15, 20));
items.push(new Item('Conjured Mana Cake', 3, 6));
function update_quality() {
for (var i = 0; i < items.length; i++) {
if (items[i].name != 'Aged Brie' && items[i].name != 'Backstage passes to a TAFKAL80ETC concert') {