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