mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-08 11:11:24 +00:00
17 lines
355 B
Python
17 lines
355 B
Python
import unittest
|
|
|
|
from gilded_rose import Item, GildedRose
|
|
from approvaltests.approvals import verify
|
|
|
|
|
|
class GildedRoseTest(unittest.TestCase):
|
|
def test_foo(self):
|
|
items = [Item("foo", 0, 0)]
|
|
gilded_rose = GildedRose(items)
|
|
gilded_rose.update_quality()
|
|
verify(items[0])
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|