def n_percentile(perc, expected): result = functions.nPercentile({}, seriesList, perc) self.assertEqual(expected, result)
def TestNPercentile(perc, expected): result = functions.nPercentile({}, seriesList, perc) self.assertEquals(expected, result)