Automatischer Zeilenumbruch

751d2c60

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

91 % complete

Suggestions

  • Revise incorrect test testWordLongerThanMaxLength. The test failed on line 109 when run against a reference implementation:
    AssertionFailedError: expected: <abcd efgh> but was: <abcdefgh>

Implementation

91 % complete 12 / 12 Tests
  • testLastWordFitsExactly: Passed
  • testLeadingAndTrailingSpaces: Passed
  • testMultipleSpacesBetweenWords: Passed
  • testSingleCharacter: Passed
  • testTextWithNewlines: Passed
  • testWordExactlyMaxLength: Passed
  • testWordLongerThanMaxLength: Passed
  • testWrapEmptyInput: Passed
  • testWrapExactFit: Passed
  • testWrapOnlySpaces: Passed
  • testWrapSimple: Passed
  • testWrapWithNewlinesAndSpaces: Passed

Other Submissions