@@ -20,7 +20,7 @@ def testMethod():
2020 return False
2121
2222 test .test = testMethod
23- test .description = lambda : "'create_board' works correctly "
23+ test .description = lambda : "'create_board' werkt correct "
2424
2525
2626@t .test (1 )
@@ -38,7 +38,7 @@ def testMethod():
3838 return False
3939
4040 test .test = testMethod
41- test .description = lambda : "'is_won' works correctly "
41+ test .description = lambda : "'is_won' werkt correct "
4242
4343
4444@t .test (2 )
@@ -59,7 +59,7 @@ def testMethod():
5959 [3 , 1 , 2 , 0 ],
6060 ], 14 ) == False
6161 ):
62- return False , "Returns the wrong value for correct/incorrect moves "
62+ return False , "geeft de verkeerde return als een move wel/niet mogelijk is "
6363
6464 board = [
6565 [15 , 14 , 13 , 12 ],
@@ -74,12 +74,12 @@ def testMethod():
7474 [7 , 6 , 5 , 4 ],
7575 [3 , 1 , 0 , 2 ],
7676 ]:
77- return False , "Board does not correctly update after valid move"
77+ return False , "het bord wordt niet correct bijgewerkt na een move"
7878
7979 return True
8080
8181 test .test = testMethod
82- test .description = lambda : "'move_tile' works correctly "
82+ test .description = lambda : "'move_tile' werkt correct "
8383
8484@t .test (10 )
8585def check_win (test ):
@@ -106,9 +106,9 @@ def testMethod():
106106 try :
107107 output = lib .outputOf (test .fileName , stdinArgs = steps , overwriteAttributes = [("__name__" , "__main__" )]).splitlines ()
108108 except exception .InputError :
109- return False , "Your program does not accept the full solution, please check manually "
109+ return False , "je programma lijkt niet te werken met de juiste oplossing voor het 4x4-board "
110110
111111 return asserts .contains (output [- 1 ], 'Gefeliciteerd' ) or asserts .contains (output [- 1 ], 'Congratulations' )
112112
113113 test .test = testMethod
114- test .description = lambda : "Game works and is solvable as expected "
114+ test .description = lambda : "spel werkt en is uit te spelen "
0 commit comments