Automatischer Zeilenumbruch

c6485c3b

Baris T.

A newer submission is available.
Some tests are incorrect: They fail when run against a reference implementation. The test suite score has been reduced.

Test Suite

77 % complete

Suggestions

  • Revise incorrect test testSingleLongWord. The test failed on line 86 when run against a reference implementation:
    AssertionFailedError: expected: <Super kalif ragil istik> but was: <Superkalifragilistik>
  • Revise incorrect test testSingleLongWordOnly. The test failed on line 67 when run against a reference implementation:
    AssertionFailedError: expected: <abcd efgh ij> but was: <abcdefghij>

Implementation

77 % complete 9 / 9 Tests
  • testLeadingAndTrailingSpaces: Passed
  • testMultipleSpacesBetweenWords: Passed
  • testSingleLongWord: Passed
  • testSingleLongWordOnly: Passed
  • testWrapEmptyInput: Passed
  • testWrapExactFit: Passed
  • testWrapOnlySpaces: Passed
  • testWrapSimple: Passed
  • testWrapWithNewlinesAndSpaces: Passed

Other Submissions