From 030c82d1bcdd9dacdd310c42bbc944302bab7882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93lafur=20Waage?= Date: Fri, 10 Sep 2021 13:57:01 +0200 Subject: [PATCH] Formatting changes. --- test/testGameState.cpp | 2 +- test/testGhost.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/testGameState.cpp b/test/testGameState.cpp index 618c0e6..c43ed0e 100644 --- a/test/testGameState.cpp +++ b/test/testGameState.cpp @@ -1,6 +1,6 @@ #include "GameState.hpp" -#include #include +#include TEST(GameStateTest, Fuzz) { pacman::GameState gameState; diff --git a/test/testGhost.cpp b/test/testGhost.cpp index 3c63570..b73e85c 100644 --- a/test/testGhost.cpp +++ b/test/testGhost.cpp @@ -5,7 +5,7 @@ #include template -static void ghostInitHelper(const T& ghost, double x, double y) { +static void ghostInitHelper(const T & ghost, double x, double y) { const pacman::Position pos{ x, y }; EXPECT_EQ(ghost.position(), pos); @@ -25,13 +25,13 @@ TEST(GhostTest, Init) { pacman::Inky inky; ghostInitHelper(inky, 13.5, 14); - + pacman::Pinky pinky; ghostInitHelper(pinky, 11.5, 14); } template -static void ghostFrightenHelper(T& ghost) { +static void ghostFrightenHelper(T & ghost) { EXPECT_FALSE(ghost.isFrightened()); ghost.frighten(); EXPECT_TRUE(ghost.isFrightened());