Skip to content

Commit

Permalink
Update test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yuchuehw authored Jun 28, 2023
1 parent 5eebeac commit a99b112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ def test_solve_single_solution():
# Assert that at least one solution is found
assert(solution_found > 0)

def test_solve_multiple_solutions(self):
def test_solve_multiple_solutions():
solver = DigitSolver([2, 4, 6, 8], 12)
solution_found = solver.solve()
# Assert that multiple solutions are found
assert(solution_found > 1)

def test_solve_no_solution(self):
def test_solve_no_solution():
solver = DigitSolver([1, 2, 3, 4], 100)
solution_found = solver.solve()
# Assert that no solution is found
Expand Down

0 comments on commit a99b112

Please sign in to comment.