Automatischer Zeilenumbruch

332c2c68

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

78 % complete

Suggestions

  • Revise incorrect test testNumericWord. The test failed on line 91 when run against a reference implementation:
    AssertionFailedError: expected: <1234 5678> but was: <12345678>
  • Revise incorrect test testSingleLongWord. The test failed on line 124 when run against a reference implementation:
    AssertionFailedError: expected: <Super kalif ragil istik> but was: <Superkalifragilistik>
  • Revise incorrect test testVeryLongSingleWord. The test failed on line 74 when run against a reference implementation:
    AssertionFailedError: expected: <abcdefghij ABCDEFGHIJ 1234567890> but was: <abcdefghijABCDEFGHIJ1234567890>

Implementation

78 % complete 14 / 14 Tests
  • testLastWordFitsExactly: Passed
  • testLeadingAndTrailingSpaces: Passed
  • testMultipleSpacesBetweenWords: Passed
  • testNumericWord: Passed
  • testSingleCharacter: Passed
  • testSingleLongWord: Passed
  • testTextWithNewlines: Passed
  • testVeryLongSingleWord: Passed
  • testWordExactlyMaxLength: Passed
  • testWrapEmptyInput: Passed
  • testWrapExactFit: Passed
  • testWrapOnlySpaces: Passed
  • testWrapSimple: Passed
  • testWrapWithNewlinesAndSpaces: Passed

Other Submissions