Skip to content

Commit 2c7b606

Browse files
committed
update: test_mod
1 parent beea7da commit 2c7b606

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_base.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@ def test_validate_boundary():
3434
def test_validate_range(range_type):
3535
with pytest.raises(ValueError):
3636
BaseOptimizer.validate_range(-1.0, 'x', 0.0, 1.0, range_type=range_type)
37+
38+
39+
def test_mod():
40+
with pytest.raises(ValueError):
41+
BaseOptimizer.validate_mod(10, 3)

0 commit comments

Comments
 (0)