Решение на Навигация на 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: (-242, -158) != (-42, 42)
First differing element 0:
-242
-42
- (-242, -158)
+ (-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: (-3, 0) != (3, 0)
First differing element 0:
-3
3
- (-3, 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: (-2, -2) != (2, 2)
First differing element 0:
-2
2
- (-2, -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: (-1, 0) != (1, 0)
First differing element 0:
-1
1
- (-1, 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: (8995, 0) != (9001, 0)
First differing element 0:
8995
9001
- (8995, 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: (-4, 0) != (4, 0)
First differing element 0:
-4
4
- (-4, 0)
? -
+ (4, 0)
----------------------------------------------------------------------
Ran 8 tests in 0.115s
FAILED (failures=6)
История (2 версии и 3 коментара)
Димитър обнови решението на 24.10.2022 12:13 (преди около 2 години)
Димитър обнови решението на 25.10.2022 11:19 (преди около 2 години)