def test_score_for_line(self):
        """
        Ensure that score_for_line rates lines according to our model
        """
        self.test_add_line_to_index()
        line = ['i','ate','a','peach']
        line2 = ['i','ate','a', 'pizza']
        line3 = ['i','ate','one','sandwich']
        
        self.assertEqual(score_for_line(line, self.client, prefix=self.prefix), 100)
        self.assertEqual(score_for_line(line2, self.client, prefix=self.prefix), 3/100.0)
        self.assertEqual(score_for_line(line3, self.client, prefix=self.prefix), 50.0/3)
dataset/ETHPy150Open wieden-kennedy/python-markov/markov/tests.py/TestMarkovFunctions.test_score_for_line/swapped operands of `/`