Ejemplo n.º 1
0
        public void It_should_return_banana()
        {
            var p = new Prob884();

            var result = p.UncommonFromSentences("apple apple", "banana");

            CollectionAssert.AreEquivalent(new[] { "banana" }, result);
        }
Ejemplo n.º 2
0
        public void It_should_return_apple()
        {
            var p = new Prob884();

            var result = p.UncommonFromSentences(
                "the apple is sweet",
                "the apple is sour"
                );

            CollectionAssert.AreEquivalent(new[] { "sweet", "sour" }, result);
        }