def test_day_3(): assert update(3) == { "DAY 3": [["+5 Dexterity Vest", 7, 17], ["Aged Brie", -1, 4], ["Elixir of the Mongoose", 2, 4], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 12, 23], ["Backstage passes to a TAFKAL80ETC concert", 7, 50], ["Backstage passes to a TAFKAL80ETC concert", 2, 50], ["Conjured Mana Cake", 0, 0]] }
def test_day_29(): assert update(29) == { 'DAY 29': [['+5 Dexterity Vest', -19, 0], ['Aged Brie', -27, 50], ['Elixir of the Mongoose', -24, 0], ['Sulfuras, Hand of Ragnaros', 0, 80], ['Sulfuras, Hand of Ragnaros', -1, 80], ['Backstage passes to a TAFKAL80ETC concert', -14, 0], ['Backstage passes to a TAFKAL80ETC concert', -19, 0], ['Backstage passes to a TAFKAL80ETC concert', -24, 0], ['Conjured Mana Cake', -26, 0]] }
def test_day_30(): assert update(30) == { "DAY 30": [["+5 Dexterity Vest", -20, 0], ["Aged Brie", -28, 50], ["Elixir of the Mongoose", -25, 0], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", -15, 0], ["Backstage passes to a TAFKAL80ETC concert", -20, 0], ["Backstage passes to a TAFKAL80ETC concert", -25, 0], ["Conjured Mana Cake", -27, 0]] }
def test_day_23(): assert update(23) == { 'DAY 23': [['+5 Dexterity Vest', -13, 0], ['Aged Brie', -21, 44], ['Elixir of the Mongoose', -18, 0], ['Sulfuras, Hand of Ragnaros', 0, 80], ['Sulfuras, Hand of Ragnaros', -1, 80], ['Backstage passes to a TAFKAL80ETC concert', -8, 0], ['Backstage passes to a TAFKAL80ETC concert', -13, 0], ['Backstage passes to a TAFKAL80ETC concert', -18, 0], ['Conjured Mana Cake', -20, 0]] }
def test_day_25(): assert update(25) == { 'DAY 25': [['+5 Dexterity Vest', -15, 0], ['Aged Brie', -23, 48], ['Elixir of the Mongoose', -20, 0], ['Sulfuras, Hand of Ragnaros', 0, 80], ['Sulfuras, Hand of Ragnaros', -1, 80], ['Backstage passes to a TAFKAL80ETC concert', -10, 0], ['Backstage passes to a TAFKAL80ETC concert', -15, 0], ['Backstage passes to a TAFKAL80ETC concert', -20, 0], ['Conjured Mana Cake', -22, 0]] }
def test_day_6(): assert update(6) == { "DAY 6": [["+5 Dexterity Vest", 4, 14], ["Aged Brie", -4, 10], ["Elixir of the Mongoose", -1, 0], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 9, 27], ["Backstage passes to a TAFKAL80ETC concert", 4, 50], ["Backstage passes to a TAFKAL80ETC concert", -1, 0], ["Conjured Mana Cake", -3, 0]] }
def test_day_9(): assert update(9) == { "DAY 9": [["+5 Dexterity Vest", 1, 11], ["Aged Brie", -7, 16], ["Elixir of the Mongoose", -4, 0], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 6, 33], ["Backstage passes to a TAFKAL80ETC concert", 1, 50], ["Backstage passes to a TAFKAL80ETC concert", -4, 0], ["Conjured Mana Cake", -6, 0]] }
def test_day_21(): assert update(21) == { 'DAY 21': [['+5 Dexterity Vest', -11, 0], ['Aged Brie', -19, 40], ['Elixir of the Mongoose', -16, 0], ['Sulfuras, Hand of Ragnaros', 0, 80], ['Sulfuras, Hand of Ragnaros', -1, 80], ['Backstage passes to a TAFKAL80ETC concert', -6, 0], ['Backstage passes to a TAFKAL80ETC concert', -11, 0], ['Backstage passes to a TAFKAL80ETC concert', -16, 0], ['Conjured Mana Cake', -18, 0]] }
def test_day_22(): assert update(22) == { 'DAY 22': [['+5 Dexterity Vest', -12, 0], ['Aged Brie', -20, 42], ['Elixir of the Mongoose', -17, 0], ['Sulfuras, Hand of Ragnaros', 0, 80], ['Sulfuras, Hand of Ragnaros', -1, 80], ['Backstage passes to a TAFKAL80ETC concert', -7, 0], ['Backstage passes to a TAFKAL80ETC concert', -12, 0], ['Backstage passes to a TAFKAL80ETC concert', -17, 0], ['Conjured Mana Cake', -19, 0]] }
def test_day_14(): assert update(14) == { 'DAY 14': [['+5 Dexterity Vest', -4, 2], ['Aged Brie', -12, 26], ['Elixir of the Mongoose', -9, 0], ['Sulfuras, Hand of Ragnaros', 0, 80], ['Sulfuras, Hand of Ragnaros', -1, 80], ['Backstage passes to a TAFKAL80ETC concert', 1, 47], ['Backstage passes to a TAFKAL80ETC concert', -4, 0], ['Backstage passes to a TAFKAL80ETC concert', -9, 0], ['Conjured Mana Cake', -11, 0]] }
def test_day_18(): assert update(18) == { 'DAY 18': [['+5 Dexterity Vest', -8, 0], ['Aged Brie', -16, 34], ['Elixir of the Mongoose', -13, 0], ['Sulfuras, Hand of Ragnaros', 0, 80], ['Sulfuras, Hand of Ragnaros', -1, 80], ['Backstage passes to a TAFKAL80ETC concert', -3, 0], ['Backstage passes to a TAFKAL80ETC concert', -8, 0], ['Backstage passes to a TAFKAL80ETC concert', -13, 0], ['Conjured Mana Cake', -15, 0]] }
def test_day_1(): assert update(1) == { "DAY 1": [["+5 Dexterity Vest", 9, 19], ["Aged Brie", 1, 1], ["Elixir of the Mongoose", 4, 6], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 14, 21], ["Backstage passes to a TAFKAL80ETC concert", 9, 50], ["Backstage passes to a TAFKAL80ETC concert", 4, 50], ["Conjured Mana Cake", 2, 4]] }
def test_day_12(): assert update(12) == { 'DAY 12': [['+5 Dexterity Vest', -2, 6], ['Aged Brie', -10, 22], ['Elixir of the Mongoose', -7, 0], ['Sulfuras, Hand of Ragnaros', 0, 80], ['Sulfuras, Hand of Ragnaros', -1, 80], ['Backstage passes to a TAFKAL80ETC concert', 3, 41], ['Backstage passes to a TAFKAL80ETC concert', -2, 0], ['Backstage passes to a TAFKAL80ETC concert', -7, 0], ['Conjured Mana Cake', -9, 0]] }
def test_day_10(): assert update(10) == { "DAY 10": [["+5 Dexterity Vest", 0, 10], ["Aged Brie", -8, 18], ["Elixir of the Mongoose", -5, 0], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 5, 35], ["Backstage passes to a TAFKAL80ETC concert", 0, 50], ["Backstage passes to a TAFKAL80ETC concert", -5, 0], ["Conjured Mana Cake", -7, 0]] }
def test_day_4(): assert update(4) == { "DAY 4": [["+5 Dexterity Vest", 6, 16], ["Aged Brie", -2, 6], ["Elixir of the Mongoose", 1, 3], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 11, 24], ["Backstage passes to a TAFKAL80ETC concert", 6, 50], ["Backstage passes to a TAFKAL80ETC concert", 1, 50], ["Conjured Mana Cake", -1, 0]] }
def test_day_2(): assert update(2) == { "DAY 2": [["+5 Dexterity Vest", 8, 18], ["Aged Brie", 0, 2], ["Elixir of the Mongoose", 3, 5], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 13, 22], ["Backstage passes to a TAFKAL80ETC concert", 8, 50], ["Backstage passes to a TAFKAL80ETC concert", 3, 50], ["Conjured Mana Cake", 1, 2]] }
def test_day_5(): assert update(5) == { "DAY 5": [["+5 Dexterity Vest", 5, 15], ["Aged Brie", -3, 8], ["Elixir of the Mongoose", 0, 2], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 10, 25], ["Backstage passes to a TAFKAL80ETC concert", 5, 50], ["Backstage passes to a TAFKAL80ETC concert", 0, 50], ["Conjured Mana Cake", -2, 0]] }
def test_day_0(): assert update(0) == { "DAY 0": [["+5 Dexterity Vest", 10, 20], ["Aged Brie", 2, 0], ["Elixir of the Mongoose", 5, 7], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 15, 20], ["Backstage passes to a TAFKAL80ETC concert", 10, 49], ["Backstage passes to a TAFKAL80ETC concert", 5, 49], ["Conjured Mana Cake", 3, 6]] }
def test_day_7(): assert update(7) == { "DAY 7": [["+5 Dexterity Vest", 3, 13], ["Aged Brie", -5, 12], ["Elixir of the Mongoose", -2, 0], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 8, 29], ["Backstage passes to a TAFKAL80ETC concert", 3, 50], ["Backstage passes to a TAFKAL80ETC concert", -2, 0], ["Conjured Mana Cake", -4, 0]] }
def test_day_8(): assert update(8) == { "DAY 8": [["+5 Dexterity Vest", 2, 12], ["Aged Brie", -6, 14], ["Elixir of the Mongoose", -3, 0], ["Sulfuras, Hand of Ragnaros", 0, 80], ["Sulfuras, Hand of Ragnaros", -1, 80], ["Backstage passes to a TAFKAL80ETC concert", 7, 31], ["Backstage passes to a TAFKAL80ETC concert", 2, 50], ["Backstage passes to a TAFKAL80ETC concert", -3, 0], ["Conjured Mana Cake", -5, 0]] }