public void TestNegativeSentiment() { string sampleText = "Demonitization is an bad move, we should abolish it soon"; var sentiment = SentimentIdentifier.GetSentiment(sampleText); Assert.AreEqual(sentiment.Type, "Negative"); }
public void TestPositiveSentiment() { string sampleText = "Demonitization is an good move, however its difficult to implement"; var sentiment = SentimentIdentifier.GetSentiment(sampleText); Assert.AreEqual(sentiment.Type, "Positive"); }