From 0cf8ac1b51f70745e8d215499ef7c6877dfcd27a Mon Sep 17 00:00:00 2001 From: Ayush guha <91629926+HelloGit-ty@users.noreply.github.com> Date: Fri, 8 Oct 2021 21:47:12 +0530 Subject: [PATCH] Updated test_mathgen.py --- tests/test_mathgen.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/test_mathgen.py b/tests/test_mathgen.py index d7ed100..879fdac 100644 --- a/tests/test_mathgen.py +++ b/tests/test_mathgen.py @@ -17,13 +17,12 @@ def test_subtraction(maxMinuend, maxDiff): problem, solution = subtraction.func(maxMinuend, maxDiff) assert eval(problem[:-1]) == int(solution) -""" -@given(maxRes=st.integers(min_value=1), maxMulti=st.integers(min_value=1)) -def test_multiplication(maxRes, maxMulti): - assume(maxRes > maxMulti) - problem, solution = multiplication.func(maxRes, maxMulti) + +@given(maxMulti=st.integers(min_value=1)) +def test_multiplication(maxMulti): + problem, solution = multiplication.func(maxMulti) assert eval(problem[:-1]) == int(solution) -""" + @given(maxA=st.integers(min_value=1), maxB=st.integers(min_value=1)) def test_division(maxA, maxB):