Пример #1
0
 public void TagInput_ShouldTagWordIfContainedInReferenceArray(string word, NameTag expectedTag)
 {
     Assert.Equal(expectedTag, (NameTag)Tagger.TagInput(new string[1] {
         word
     }).First());
 }
Пример #2
0
 public void TagInput_ShouldReturnEmptyArrayIfGivenEmpty()
 {
     string[] input    = new string[0];
     int[]    expected = new int[0];
     Assert.Equal(expected, Tagger.TagInput(input));
 }