Exemple #1
0
 public void Left_WithSentenceStringAndZeroLength_ExpectsEmptyString()
 => Equal(SENTENCE.Left(0), EMPTY);
Exemple #2
0
 public void Left_WithSentenceStringAndNegativeWordLength_ExpectsAllButLastWord()
 => Equal(SENTENCE.Left(-LENGTH_WORD), WORD_FIRST + WORD_SEPARATOR);
Exemple #3
0
 public void Left_WithSentenceStringAndNegativeGreaterLength_ExpectsSameString()
 => Equal(SENTENCE.Left(-LENGTH_GREATER), SENTENCE);
Exemple #4
0
 public void Left_WithSentenceStringAndPositiveWordLength_ExpectsFirstWord()
 => Equal(SENTENCE.Left(LENGTH_WORD), WORD_FIRST);