From a8ff0a4cdcc976e83660cdcf00d795f92ec27ee1 Mon Sep 17 00:00:00 2001 From: lukew3 Date: Fri, 20 Nov 2020 19:50:13 -0500 Subject: [PATCH] test update --- tests/test_mathgen.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_mathgen.py b/tests/test_mathgen.py index 745b9dc..1029fbc 100644 --- a/tests/test_mathgen.py +++ b/tests/test_mathgen.py @@ -25,10 +25,10 @@ def test_multiplication(maxRes, maxMulti): assert eval(problem[:-1]) == int(solution) -@given(maxRes=st.integers(min_value=1), maxDivid=st.integers(min_value=1)) -def test_division(maxRes, maxDivid): - assume(maxRes > maxDivid) - problem, solution = division.func(maxRes, maxDivid) +@given(maxA=st.integers(min_value=1), maxB=st.integers(min_value=1)) +def test_division(maxA, maxB): + assume(maxA > maxB) + problem, solution = division.func(maxA, maxB) assert eval(problem[:-1]) == float(solution)