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