We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14d6d92 commit 29e5d0dCopy full SHA for 29e5d0d
tests/test_main.py
@@ -9,23 +9,23 @@
9
10
11
def test_number_one():
12
- """Checks."""
+ """Checks if the test file works properly."""
13
assert 1 == 1
14
15
16
def test_check_minmax(depth = 0, maxdepth = 10):
17
+ """Checks if the minmax function retunrs 0 if depth >= maxdepth."""
18
if depth >= maxdepth:
19
assert 0
20
21
22
def test_check_randomAI():
23
+ """Checks if the turnCounter in the randomAI function returns false."""
24
main.randomAI()
25
assert main.turnCounter == False
26
27
28
def test_check_randomAI2():
29
+ """Checks to make sure the turnCounter in randomAI does not return true."""
30
31
assert main.turnCounter != True
0 commit comments