Skip to content

Commit bfe2faa

Browse files
committed
adding utils unit test
1 parent 4927ff3 commit bfe2faa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/unit/test_utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ def test_best_fit_distribution(self) -> None:
2323
pass
2424

2525
@pytest.mark.parametrize(
26-
"distribution,min_value,max_value,variable",
26+
"distribution,min_value,max_value",
2727
[
28-
pytest.param(None, 10, 100, 10),
29-
pytest.param({"name": "norm", "params": [0.08688656476267097, 0.2572832376513094]}, 10, 100, 10),
28+
pytest.param(None, 10, 100),
29+
pytest.param({"name": "norm", "params": [0.08688656476267097, 0.2572832376513094]}, 10, 100),
3030
],
3131
)
32-
def test_generate_rvs(self, distribution: Dict, min_value: float, max_value: float, variable: float) -> None:
32+
def test_generate_rvs(self, distribution: Dict, min_value: float, max_value: float) -> None:
3333
assert(min_value <= wfcommons.utils.generate_rvs(distribution, min_value, max_value) <= max_value )
3434

3535
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)