Exemple #1
0
 def test_at_100(self):
     threshold = threshold_at_percent(self.scores, 1.0)
     self.assertEqual(threshold, 0.1)
 def test_at_100(self):
     threshold = threshold_at_percent(self.scores, 1.0)
     self.assertEqual(threshold, 0.1)
Exemple #3
0
 def test_at_50(self):
     threshold = threshold_at_percent(self.scores, 0.5)
     self.assertEqual(threshold, 0.6)
 def test_at_50(self):
     threshold = threshold_at_percent(self.scores, 0.5)
     self.assertEqual(threshold, 0.6)