Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeurer committed Jan 14, 2020
1 parent 922ecb7 commit cb4521a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_hyperparameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ def test_quantization_UniformIntegerHyperparameter_negative(self):
self.assertIsInstance(obj=sample_one, cls=np.ndarray)
self.assertEqual(1, sample_one.size)
self.assertEqual((hp._transform(sample_one) + 2) % 3, 0)
self.assertGreaterEqual(hp._transform(sample_one), 1)
self.assertGreaterEqual(hp._transform(sample_one), -2)
self.assertLessEqual(hp._transform(sample_one), 100)

sample_hundred = hp._sample(rs=rs, size=100)
Expand Down

0 comments on commit cb4521a

Please sign in to comment.