Решение на doge от Марианна Владимирова
Обратно към всички решения
Към профила на Марианна Владимирова
Резултати
- 7 точки от тестове
- 0 бонус точки
- 7 точки общо
- 11 успешни тест(а)
- 4 неуспешни тест(а)
Код
Лог от изпълнението
F...FFF........
======================================================================
FAIL: test_sentence_with_parasite_word_as_part_of_normal_one (test.TestDogeSay)
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/language/python/runner.py", line 60, in thread
raise it.exc_info[1]
File "lib/language/python/runner.py", line 48, in run
self.result = func(*args, **kwargs)
File "/tmp/d20141216-14586-1678u6h/test.py", line 52, in test_sentence_with_parasite_word_as_part_of_normal_one
self.assertEqual(2, solution.count_doge_words("wow soon hard such difficult"))
AssertionError: 2 != 3
======================================================================
FAIL: test_with_more_space_between_parasites (test.TestDogeSay)
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/language/python/runner.py", line 60, in thread
raise it.exc_info[1]
File "lib/language/python/runner.py", line 48, in run
self.result = func(*args, **kwargs)
File "/tmp/d20141216-14586-1678u6h/test.py", line 67, in test_with_more_space_between_parasites
self.assertEqual(6, solution.count_doge_words('wow lol so such much very'))
AssertionError: 6 != 3
======================================================================
FAIL: test_with_parasite_sentence (test.TestDogeSay)
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/language/python/runner.py", line 60, in thread
raise it.exc_info[1]
File "lib/language/python/runner.py", line 48, in run
self.result = func(*args, **kwargs)
File "/tmp/d20141216-14586-1678u6h/test.py", line 58, in test_with_parasite_sentence
self.assertEqual(6, solution.count_doge_words('wow lol so such much very'))
AssertionError: 6 != 3
======================================================================
FAIL: test_with_repeating_parasite_words (test.TestDogeSay)
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/language/python/runner.py", line 60, in thread
raise it.exc_info[1]
File "lib/language/python/runner.py", line 48, in run
self.result = func(*args, **kwargs)
File "/tmp/d20141216-14586-1678u6h/test.py", line 64, in test_with_repeating_parasite_words
self.assertEqual(5, solution.count_doge_words('wow hard wow much such difficult much'))
AssertionError: 5 != 3
----------------------------------------------------------------------
Ran 15 tests in 0.009s
FAILED (failures=4)
История (5 версии и 3 коментара)
Марианна обнови решението на 08.03.2014 15:50 (преди над 10 години)
Марианна обнови решението на 08.03.2014 18:15 (преди над 10 години)
Марианна обнови решението на 09.03.2014 17:59 (преди над 10 години)
Марианна обнови решението на 11.03.2014 23:12 (преди над 10 години)
Марианна обнови решението на 12.03.2014 14:28 (преди над 10 години)