mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
15 lines
317 B
Python
15 lines
317 B
Python
# -*- coding: utf-8 -*-
|
|
import unittest
|
|
from gilded_rose import Item, update_quality
|
|
|
|
|
|
class GildedRoseTest(unittest.TestCase):
|
|
def test_foo(self):
|
|
items = [Item("foo", 0, 0)]
|
|
update_quality(items)
|
|
self.assertEquals("fixme", items[0].name)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|