diff --git a/teamprojekt_competition_server/server/main.py b/teamprojekt_competition_server/server/main.py index 8ff5d87f..e4590d9b 100644 --- a/teamprojekt_competition_server/server/main.py +++ b/teamprojekt_competition_server/server/main.py @@ -46,20 +46,4 @@ def _player_won(self, index) -> bool: def main(): """main function for testing""" server = COMPServer(LaserHockeyGame) - server.start() - - -def test_database(): - """function to test database""" - game_db = GameDatabase() - gameID = game_db.insert_game(12, 23) - gameID = game_db.insert_game(52, 12) - print(gameID) - print(game_db.get_playerIDs(gameID=gameID)) - print(game_db.get_gameIDs(playerID=12)) - print(game_db.get_won_gameIDs(playerID=12)) - - -if __name__ == "__main__": - main() - # test_database() + server.start() \ No newline at end of file