From 61fd3bb5c0e93adbfbc3f7148fc92dd496b6dfa5 Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Tue, 5 Oct 2021 10:41:21 +0200 Subject: [PATCH] Remove disabled test --- test/testGameState.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 test/testGameState.cpp diff --git a/test/testGameState.cpp b/test/testGameState.cpp deleted file mode 100644 index 51cdc9e..0000000 --- a/test/testGameState.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include "GameState.hpp" -#include -#include - -// TODO: Fuzzing - -/* -TEST_CASE("GameStateTest") { - pacman::GameState gameState; - //fmt::print("{}\n", gameState.pellets.currentPositions().size()); - - int pacManDeathCount = 0; - bool canCountDeath = false; - for (std::size_t i = 0; i < 50000; ++i) { - gameState.inputState.up = i % 7 ? true : false; - gameState.inputState.down = i % 11 ? true : false; - gameState.inputState.left = i % 13 ? true : false; - gameState.inputState.right = i % 17 ? true : false; - - canCountDeath = !gameState.isPacManDying(); - gameState.step(std::chrono::milliseconds(1000 / 30)); - if (canCountDeath && gameState.isPacManDying()) { - pacManDeathCount++; - } - } - - //fmt::print("{}\n", pacManDeathCount); - //fmt::print("{}\n", gameState.pellets.currentPositions().size()); -} -*/