def test_at_100(self):
     threshold = threshold_at(self.scores, 1.0)
     self.assertEqual(threshold, 0.1)
Esempio n. 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)
Esempio n. 4
0
 def test_at_50(self):
     threshold = threshold_at(self.scores, 0.5)
     self.assertEqual(threshold, 0.6)