Automatischer Zeilenumbruch

c70acb43

Lorenz V.

A newer submission is available.
The submission contains compile errors. Tests may have failed because of this.
Some tests are incorrect: They fail when run against a reference implementation. The test suite score has been reduced.

Test Suite

10 % complete

Suggestions

  • Revise incorrect test SetCharCount. The test failed on line 39 when run against a reference implementation:
    Error: Unresolved compilation problem
  • Revise incorrect test SetNegativeCharCount. The test failed on line 55 when run against a reference implementation:
    Error: Unresolved compilation problem
  • Revise incorrect test createNoIntInput. The test failed on line 12 when run against a reference implementation:
    Error: Unresolved compilation problem
  • Revise incorrect test createWithInt. The test failed on line 33 when run against a reference implementation:
    Error: Unresolved compilation problem
  • Revise incorrect test createWithNegativeIntInput. The test failed on line 27 when run against a reference implementation:
    AssertionFailedError: expected: <This text shouldn't change> but was: <This text shouldn't change>
  • Den einfachsten Fall testen.😉 The test suite already does this partially, but it only detects 1 out of 2 possible bugs in this regard.
  • Ein paar weitere sehr einfache Fälle testen, nämlich wenn der Text genügend kurz ist, dass er gar nicht umgebrochen werden muss. The test suite already does this partially, but it only detects 14 out of 19 possible bugs in this regard.
  • Den Fall testen, dass der Text genau einmal umgebrochen werden muss. The test suite already does this partially, but it only detects 3 out of 8 possible bugs in this regard.

Implementation

10 % complete 7 / 7 Tests
  • SetCharCount: Passed
  • SetNegativeCharCount: Passed
  • StringSpacing: Passed
  • createNoIntInput: Passed
  • createWithInt: Passed
  • createWithIntInput: Passed
  • createWithNegativeIntInput: Passed

Other Submissions