Skip to content

Commit 29e5d0d

Browse files
Tommy AntleTommy Antle
authored andcommitted
Add comments to test cases
1 parent 14d6d92 commit 29e5d0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@
99

1010

1111
def test_number_one():
12-
"""Checks."""
12+
"""Checks if the test file works properly."""
1313
assert 1 == 1
1414

1515

1616
def test_check_minmax(depth = 0, maxdepth = 10):
17-
"""Checks."""
17+
"""Checks if the minmax function retunrs 0 if depth >= maxdepth."""
1818
if depth >= maxdepth:
1919
assert 0
2020

2121

2222
def test_check_randomAI():
23-
"""Checks."""
23+
"""Checks if the turnCounter in the randomAI function returns false."""
2424
main.randomAI()
2525
assert main.turnCounter == False
2626

2727

2828
def test_check_randomAI2():
29-
"""Checks."""
29+
"""Checks to make sure the turnCounter in randomAI does not return true."""
3030
main.randomAI()
3131
assert main.turnCounter != True

0 commit comments

Comments
 (0)