aboutsummaryrefslogtreecommitdiff
path: root/main/tests/test_containers.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-03-19 00:36:26 +0100
committerRémi Verschelde2017-03-19 00:36:26 +0100
commitf8db8a3faa30b71dca33ced38be16d3f93f43e8a (patch)
tree3b798318132cca7eccfbca5818ab55656a2896d7 /main/tests/test_containers.cpp
parent1d418afe863c9e553b69174ce63aef203c46d2f0 (diff)
downloadgodot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.gz
godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.zst
godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.zip
Bring that Whole New World to the Old Continent too
Applies the clang-format style to the 2.1 branch as done for master in 5dbf1809c6e3e905b94b8764e99491e608122261.
Diffstat (limited to '')
-rw-r--r--main/tests/test_containers.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/main/tests/test_containers.cpp b/main/tests/test_containers.cpp
index 4bc297d0b..746a9188a 100644
--- a/main/tests/test_containers.cpp
+++ b/main/tests/test_containers.cpp
@@ -28,19 +28,18 @@
/*************************************************************************/
#include "test_containers.h"
#include "dvector.h"
-#include "set.h"
-#include "print_string.h"
#include "math_funcs.h"
+#include "print_string.h"
#include "servers/visual/default_mouse_cursor.xpm"
+#include "set.h"
-#include "variant.h"
-#include "list.h"
#include "image.h"
+#include "list.h"
+#include "variant.h"
namespace TestContainers {
-MainLoop * test() {
-
+MainLoop *test() {
/*
HashMap<int,int> int_map;
@@ -52,15 +51,14 @@ MainLoop * test() {
}
*/
-
{
-// static const int size = 16;
+ // static const int size = 16;
Image img;
img.create(default_mouse_cursor_xpm);
{
- for (int i=0; i<8; i++) {
+ for (int i = 0; i < 8; i++) {
Image mipmap;
//img.make_mipmap(mipmap);
@@ -68,7 +66,6 @@ MainLoop * test() {
if (img.get_width() <= 4) break;
};
};
-
};
#if 0
@@ -103,5 +100,4 @@ MainLoop * test() {
return NULL;
}
-
}