public void IsUnidentifiable() { var service = new VoiceService(); List <Token> tokens = new List <Token>(); var result = service.GetVoice(tokens); Assert.Equal(Voice.Unidentifiable, result); }
public void IsActive() { var service = new VoiceService(); List <Token> tokens = new List <Token>(); tokens.Add(new Token { IncomingDependencyLabel = "nsubj" }); var result = service.GetVoice(tokens); Assert.Equal(Voice.Active, result); }