Beispiel #1
0
 public void Right_WithSentenceStringAndZeroLength_ExpectsEmptyString()
 => Equal(SENTENCE.Right(0), EMPTY);
Beispiel #2
0
 public void Right_WithSentenceStringAndNegativeWordLength_ExpectsAllButFirstWord()
 => Equal(SENTENCE.Right(-LENGTH_WORD), WORD_SEPARATOR + WORD_LAST);
Beispiel #3
0
 public void Right_WithSentenceStringAndNegativeGreaterLength_ExpectsSameString()
 => Equal(SENTENCE.Right(-LENGTH_GREATER), SENTENCE);
Beispiel #4
0
 public void Right_WithSentenceStringAndPositiveWordLength_ExpectsLastWord()
 => Equal(SENTENCE.Right(LENGTH_WORD), WORD_LAST);