Ejemplo n.º 1
0
        public void IsUnidentifiable()
        {
            var          service = new VoiceService();
            List <Token> tokens  = new List <Token>();
            var          result  = service.GetVoice(tokens);

            Assert.Equal(Voice.Unidentifiable, result);
        }
Ejemplo n.º 2
0
        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);
        }