Skip to content

Commit

Permalink
Increase the range for the randomness in this test
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-braun committed Jun 19, 2017
1 parent 157b49f commit a57a09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/examples/test_driftbif_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_ratio(self):
sample = np.array(tau)
before = np.sum(sample <= 1/0.3)
beyond = np.sum(sample > 1/0.3)
self.assertTrue(abs(0.4 - float(before)/(before+beyond))<0.001)
self.assertTrue(abs(0.4 - float(before)/(before+beyond))<0.002)

class LoadDriftBifTestCase(unittest.TestCase):
def test_classification_labels(self):
Expand Down

0 comments on commit a57a09f

Please sign in to comment.