示例#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);