def test_at_100(self):
     threshold = threshold_at(self.scores, 1.0)
     self.assertEqual(threshold, 0.1)
Exemple #2
0
 def test_at_100(self):
     threshold = threshold_at(self.scores, 1.0)
     self.assertEqual(threshold, 0.1)
 def test_at_50(self):
     threshold = threshold_at(self.scores, 0.5)
     self.assertEqual(threshold, 0.6)
Exemple #4
0
 def test_at_50(self):
     threshold = threshold_at(self.scores, 0.5)
     self.assertEqual(threshold, 0.6)