diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-09 19:41:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-09 19:41:31 +0300 |
commit | 97943710d847ddb2b52099330f1961bda127e37b (patch) | |
tree | ab2522aab524c3393a6dd4f1d51811d3eac9984e /src/resources | |
parent | 22d0a32e03656262a7a5cccb3769aed59bfe0a5b (diff) | |
download | manaverse-97943710d847ddb2b52099330f1961bda127e37b.tar.gz manaverse-97943710d847ddb2b52099330f1961bda127e37b.tar.bz2 manaverse-97943710d847ddb2b52099330f1961bda127e37b.tar.xz manaverse-97943710d847ddb2b52099330f1961bda127e37b.zip |
Fix code style.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/sprite/animatedsprite_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc index b59b4dbbb..9111434b2 100644 --- a/src/resources/sprite/animatedsprite_unittest.cc +++ b/src/resources/sprite/animatedsprite_unittest.cc @@ -89,7 +89,7 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") REQUIRE(false == sprite->update(11)); REQUIRE(10 == sprite->getFrameTime()); REQUIRE(0 == sprite->getFrameIndex()); - delete(sprite); + delete sprite; } SECTION("basic test 2") @@ -150,7 +150,7 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") REQUIRE(true == sprite->update(1 + 10 + 20 + 10 + 25 + 10 + 10 + 1)); REQUIRE(4 == sprite->getFrameIndex()); REQUIRE(1 == sprite->getFrameTime()); - delete(sprite); + delete sprite; } SECTION("basic test 3") @@ -168,7 +168,7 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") REQUIRE(true == sprite2->update(1 + 10 + 20 + 10 + 25 + 10 + 10 + 1)); REQUIRE(1 == sprite2->getFrameIndex()); REQUIRE(1 == sprite2->getFrameTime()); - delete(sprite2); + delete sprite2; } delete client; |