hnc-daniil/HNC/Exercises/Selfmade_Testing/testing.py

17 lines
385 B
Python
Raw Normal View History

2023-07-19 16:23:15 +02:00
test_cases = [
("Sobaka", 1, 2),
("Koshka", 2, 3),
("Ezhik", 3, 4)
]
def print_zhivotny(mnogo_zhivotny):
for zhivotny in mnogo_zhivotny:
print("=" * 20)
test_name = zhivotny[0]
test_actual = zhivotny[1]
test_expected = zhivotny[2]
print(test_name, test_actual, test_expected)
print("=" * 20)
print_zhivotny(test_cases)