mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-18 07:51:29 +00:00
Update texttest_fixture.py
This commit is contained in:
parent
dedad50044
commit
2a6cec9ab3
@ -1,10 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
from gilded_rose import *
|
from gilded_rose import *
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print ("OMGHAI!")
|
|
||||||
items = [
|
items = [
|
||||||
Item(name="+5 Dexterity Vest", sell_in=10, quality=20),
|
Item(name="+5 Dexterity Vest", sell_in=10, quality=20),
|
||||||
Item(name="Aged Brie", sell_in=2, quality=0),
|
Item(name="Aged Brie", sell_in=2, quality=0),
|
||||||
@ -19,6 +17,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
days = 2
|
days = 2
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
days = int(sys.argv[1]) + 1
|
days = int(sys.argv[1]) + 1
|
||||||
for day in range(days):
|
for day in range(days):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user