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