From 4b4bdd6f8d5264217908a72024bdc86f0445f025 Mon Sep 17 00:00:00 2001 From: dvorakmortonxd Date: Thu, 21 May 2026 12:43:34 +0200 Subject: [PATCH] removed uneccessary folder that I have no idea how it got made --- tests/test_game.py | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tests/test_game.py diff --git a/tests/test_game.py b/tests/test_game.py deleted file mode 100644 index 410760f..0000000 --- a/tests/test_game.py +++ /dev/null @@ -1,20 +0,0 @@ -import os - -# Use the SDL dummy video driver so tests can run headless in CI -os.environ.setdefault("SDL_VIDEODRIVER", "dummy") - -import pygame -from game.game import Game - - -def test_game_initializes_and_runs_briefly(): - # Ensure pygame uses the dummy driver - assert pygame.get_sdl_version() is not None - - # Instantiate the game and run for a tiny amount of time - g = Game(width=320, height=240, fps=60) - # Run the loop for 0.1 seconds using run(max_run_seconds=...) - g.run(max_run_seconds=0.1) - - # If we reached cleanup without exception, consider test passed - assert not pygame.get_init() # pygame.quit() should have been called