@@ -31,4 +31,4 @@ from tests.helpers.naming import apply_names
deftest_check_valid_coord(coord,board,expected):
result=task2.check_valid_coord(coord,board)
assertresult==expected,f"go_to_next_round(check_valid_coord({coord}, boardX) with boardX of length {len(board)} returned {result}, but the expected value is {expected}."
assertexpected==result,f"go_to_next_round(check_valid_coord({coord}, boardX) with boardX of length {len(board)} returned {result}, but the expected value is {expected}."
assertresult==expected,f"On a 7x7 board, the following inputs on the ask_coordinates function:\n{inputs}\nlead to the following output:\n{result}\nwhen we expect:\n{expected}."
assertexpected==result,f"On a 7x7 board, the following inputs on the ask_coordinates function:\n{inputs}\nlead to the following output:\n{result}\nwhen we expect:\n{expected}."
assertresult==expected_output#, f"Calling place_ships and providing the following inputs:\n{inputs}\nthe resulting outputs are:\n{result}\nwhen we expect:\n{expected_output}."
assertships_placed==expected_ships_placed#, f"Calling place_ships and providing the following inputs:\n{inputs}\nthe resulting ships_placed are:\nships_placed = {ships_placed}\nwhen we expect:\nships_placed = {expected_ships_placed}."
\ No newline at end of file
assertexpected_output==result,f"method place_ships did not provide the correct output to console, see diff (LHS v RHS)."
# Longer message: f"Calling place_ships and providing the following inputs:\n{inputs}\nthe resulting outputs are:\n{result}\nwhen we expect:\n{expected_output}."
assertexpected_ships_placed==ships_placed,f"method place_ships did not correctly place ships, see diff (LHS v RHS)."
# Longer message: f"Calling place_ships and providing the following inputs:\n{inputs}\nthe resulting ships_placed are:\nships_placed = {ships_placed}\nwhen we expect:\nships_placed = {expected_ships_placed}."