Skip to content
Snippets Groups Projects
Commit 12bb6b59 authored by Cedric Verstege's avatar Cedric Verstege
Browse files

:man_mage:

parent 5d2ba754
Branches
No related tags found
No related merge requests found
Pipeline #4416 failed
......@@ -24,12 +24,12 @@ def test_vanish_trolls():
def test_brew_potions():
assert brew_potions(2, 3) == 6
assert brew_potions(-1, 3) == -3
assert brew_potions(0, 100) == 1
assert brew_potions(0, 100) == 0
def test_cast_division_spell():
assert cast_division_spell(6, 3) == 2
assert cast_division_spell(10, 2) == 3
assert cast_division_spell(10, 2) == 5
assert cast_division_spell(7, 7) == 1
with pytest.raises(ValueError):
cast_division_spell(1, 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment