Решение на Навигация на Piet от Цветан Тошев
Обратно към всички решения
Към профила на Цветан Тошев
Резултати
- 3 точки от тестове
- 0 бонус точки
- 3 точки общо
- 2 успешни тест(а)
- 6 неуспешни тест(а)
Код
Лог от изпълнението
FF.FF.FF
======================================================================
FAIL: test_a_metric_shit_ton_of_hexes (test.TestCalculateFinalVector)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221020151654/lib/language/python/runner.py", line 67, in thread
raise result
AssertionError: Tuples differ: (-142, 42) != (-42, 42)
First differing element 0:
-142
-42
- (-142, 42)
? -
+ (-42, 42)
======================================================================
FAIL: test_black_stops (test.TestCalculateFinalVector)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221020151654/lib/language/python/runner.py", line 67, in thread
raise result
AssertionError: Tuples differ: (0, 0) != (3, 0)
First differing element 0:
0
3
- (0, 0)
? ^
+ (3, 0)
? ^
======================================================================
FAIL: test_mixed_case (test.TestCalculateFinalVector)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221020151654/lib/language/python/runner.py", line 67, in thread
raise result
AssertionError: Tuples differ: (0, 2) != (2, 2)
First differing element 0:
0
2
- (0, 2)
? ^
+ (2, 2)
? ^
======================================================================
FAIL: test_negative_step (test.TestCalculateFinalVector)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221020151654/lib/language/python/runner.py", line 67, in thread
raise result
AssertionError: Tuples differ: (0, 0) != (1, 0)
First differing element 0:
0
1
- (0, 0)
? ^
+ (1, 0)
? ^
======================================================================
FAIL: test_starting_vector (test.TestCalculateFinalVector)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221020151654/lib/language/python/runner.py", line 67, in thread
raise result
AssertionError: Tuples differ: (8998, 0) != (9001, 0)
First differing element 0:
8998
9001
- (8998, 0)
+ (9001, 0)
======================================================================
FAIL: test_white_ignored (test.TestCalculateFinalVector)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/storage/deedee/data/rails/pyfmi-2022/releases/20221020151654/lib/language/python/runner.py", line 67, in thread
raise result
AssertionError: Tuples differ: (0, 0) != (4, 0)
First differing element 0:
0
4
- (0, 0)
? ^
+ (4, 0)
? ^
----------------------------------------------------------------------
Ran 8 tests in 0.140s
FAILED (failures=6)
История (2 версии и 5 коментара)
Цветан обнови решението на 24.10.2022 21:04 (преди около 2 години)
Цветан обнови решението на 25.10.2022 11:40 (преди около 2 години)