Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -1,8 +1,7 @@
#include "testing/testing.hpp"
#include "base/timer.hpp"
#include "base/logging.hpp"
#include "base/timer.hpp"
UNIT_TEST(Timer_Seconds)
{
@@ -11,7 +10,7 @@ UNIT_TEST(Timer_Seconds)
double t1 = timer.ElapsedSeconds();
double s = 0.0;
for (int i = 0; i < 10000000; ++i)
s += i*0.01;
s += i * 0.01;
double t2 = timer.ElapsedSeconds();
TEST_NOT_EQUAL(s, 0.0, ("Fictive, to prevent loop optimization"));