Removed old comments
This commit is contained in:
parent
795ffd0214
commit
d0f1b62a8d
@ -104,13 +104,3 @@ class Selection(TestCase):
|
|||||||
vm = x.keys()[random.randrange(len(x))]
|
vm = x.keys()[random.randrange(len(x))]
|
||||||
expect(selection).choice(x.keys()).and_return(vm).once()
|
expect(selection).choice(x.keys()).and_return(vm).once()
|
||||||
assert selection.random(x) == vm
|
assert selection.random(x) == vm
|
||||||
|
|
||||||
|
|
||||||
# def test_threshold_factory(self):
|
|
||||||
# alg = trivial.threshold_factory(300, 20, {'threshold': 0.5})
|
|
||||||
# self.assertEqual(alg([]), (False, {}))
|
|
||||||
# self.assertEqual(alg([0.0, 0.0]), (True, {}))
|
|
||||||
# self.assertEqual(alg([0.0, 0.4]), (True, {}))
|
|
||||||
# self.assertEqual(alg([0.0, 0.5]), (True, {}))
|
|
||||||
# self.assertEqual(alg([0.0, 0.6]), (False, {}))
|
|
||||||
# self.assertEqual(alg([0.0, 1.0]), (False, {}))
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user