diff options
| author | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
| commit | f8db8a3faa30b71dca33ced38be16d3f93f43e8a (patch) | |
| tree | 3b798318132cca7eccfbca5818ab55656a2896d7 /main/tests/test_containers.cpp | |
| parent | 1d418afe863c9e553b69174ce63aef203c46d2f0 (diff) | |
| download | godot-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.cpp | 18 |
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; } - } |
