def test_adjective_sentiment1(self): processor = Processor() self.assertEqual( processor.textAdjectives("This was a horrific project.")[1], -1)
def test_adjectives2(self): processor = Processor() self.assertTrue("interesting" in processor.textAdjectives( "I found this project to be very interesting.")[0])
def test_adjective_sentiment1(self): processor = Processor() self.assertEqual( processor.textAdjectives("This was a great experience.")[1], 1)
def test_adjectives1(self): processor = Processor() self.assertTrue("cheerful" in processor.textAdjectives( "The host was cheerful.")[0])