Решение на От ливадите до Лас Вегас (и назад) от Николета Бейска
Обратно към всички решения
Към профила на Николета Бейска
Резултати
- 5 точки от тестове
- 0 бонус точки
- 5 точки общо
- 8 успешни тест(а)
- 7 неуспешни тест(а)
Код
Лог от изпълнението
▸ Покажи логаFE......EEE.E.E
======================================================================
ERROR: test_correct_direction_and_players_deal (test.TestBelot)
Test dealing with correct direction and players.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221115154139/lib/language/python/runner.py", line 67, in thread
raise result
AttributeError: 'Belot' object has no attribute 'dealing_direction'
======================================================================
ERROR: test_collecting_cards_before_dealing (test.TestGame)
Test collecting the cards before a new deal.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221115154139/lib/language/python/runner.py", line 67, in thread
raise result
NameError: name 'players' is not defined
======================================================================
ERROR: test_dealing_ltr (test.TestGame)
Test dealing the cards left to right.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221115154139/lib/language/python/runner.py", line 67, in thread
raise result
AttributeError: 'Game' object has no attribute 'dealing_direction'
======================================================================
ERROR: test_dealing_rtl (test.TestGame)
Test dealing the cards right to left.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221115154139/lib/language/python/runner.py", line 67, in thread
raise result
AttributeError: 'Game' object has no attribute 'dealing_direction'
======================================================================
ERROR: test_prepare_deck (test.TestGame)
Test preparing the deck for dealing.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221115154139/lib/language/python/runner.py", line 67, in thread
raise result
NameError: name 'players' is not defined
======================================================================
ERROR: test_correct_direction_and_players_deal (test.TestPoker)
Test dealing with correct direction and players.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221115154139/lib/language/python/runner.py", line 67, in thread
raise result
AttributeError: 'Poker' object has no attribute 'dealing_direction'
======================================================================
FAIL: test_correct_deck_init (test.TestBelot)
Test initialization with correct deck.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221115154139/lib/language/python/runner.py", line 67, in thread
raise result
AssertionError: Items in the second set but not the first:
('clubs', '2')
('clubs', '6')
('diamonds', '3')
('diamonds', '5')
('clubs', '3')
('hearts', '6')
('clubs', '5')
('hearts', '2')
('diamonds', '4')
('clubs', '4')
('hearts', '3')
('spades', '2')
('hearts', '5')
('spades', '6')
('hearts', '4')
('spades', '3')
('spades', '5')
('diamonds', '2')
('diamonds', '6')
('spades', '4')
----------------------------------------------------------------------
Ran 15 tests in 0.230s
FAILED (failures=1, errors=6)
История (5 версии и 11 коментара)
Николета обнови решението на 13.11.2022 19:24 (преди около 2 години)
▸ Покажи разликите
Николета обнови решението на 14.11.2022 19:46 (преди около 2 години)
▸ Покажи разликите
Николета обнови решението на 14.11.2022 19:47 (преди около 2 години)
▸ Покажи разликите
Николета обнови решението на 15.11.2022 17:28 (преди около 2 години)
▸ Покажи разликите
Николета обнови решението на 15.11.2022 17:29 (преди около 2 години)
▸ Покажи разликите
не чети този коментар - грешка от моя страна