summaryrefslogtreecommitdiff
path: root/src/resources/sprite
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-09 19:41:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-09 19:41:31 +0300
commit97943710d847ddb2b52099330f1961bda127e37b (patch)
treeab2522aab524c3393a6dd4f1d51811d3eac9984e /src/resources/sprite
parent22d0a32e03656262a7a5cccb3769aed59bfe0a5b (diff)
downloadplus-97943710d847ddb2b52099330f1961bda127e37b.tar.gz
plus-97943710d847ddb2b52099330f1961bda127e37b.tar.bz2
plus-97943710d847ddb2b52099330f1961bda127e37b.tar.xz
plus-97943710d847ddb2b52099330f1961bda127e37b.zip
Fix code style.
Diffstat (limited to 'src/resources/sprite')
-rw-r--r--src/resources/sprite/animatedsprite_unittest.cc6
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;