Automatischer Zeilenumbruch

da19b7f0

Noah V.

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

92 % complete

Suggestions

  • Revise incorrect test longSingleWordIsWrappedWhenExceedingLimit. The test failed on line 139 when run against a reference implementation:
    AssertionFailedError: expected: <abcdefghij klmno> but was: <abcdefghijklmno>

Implementation

78 % complete 11 / 13 Tests
  • brauchtGarKeinWrapping: Passed
  • deleteNewlines: Passed
  • entferneUnnoetigeWrappings: Passed
  • entferneUnnoetigeWrappingsMitNewLineEnding: Passed
  • exactlyOneWrapBecauseNextWordWouldExceedLimit: Failed
  • firstExample: Passed
  • genauEinWrapping: Passed
  • genauEineZeileProWort6: Passed
  • longSingleWordIsWrappedWhenExceedingLimit: Passed
  • returnEmpty: Passed
  • whitespaceExample: Passed
  • wrapExactlyOnceAtWordBoundaryLimit: Failed
  • wrapExactlyOnceWhenNextWordWouldOverflow: Passed

Other Submissions