Skip to content

Commit

Permalink
formatted TankTests.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bartez33a committed Oct 12, 2023
1 parent fca57e1 commit 93161fc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/TankTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#include <SFML/Graphics.hpp>
#include <utility>

#include "Sound.hpp"
#include "SquareRootEngine.hpp"
#include "Tank/Tank.hpp"
#include "Sound.hpp"
#include "TestUtility.hpp"
#include "TracesHandler.hpp"
#include "gmock/gmock.h"
Expand Down Expand Up @@ -39,7 +39,10 @@ struct TankTestData {
unsigned int health = 100;

Tank create_tank(std::unique_ptr<testing::NiceMock<EngineMock>>&& engine) {
return {0, 0, mTextures, std::move(engine),
return {0,
0,
mTextures,
std::move(engine),
emptySound,
TracesHandlerConfig{.mMaxTraceAge = 10, .mDecayRate = 0.1f},
shot_cooldown};
Expand Down

0 comments on commit 93161fc

Please sign in to comment.