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

@@ -28,23 +28,23 @@ void TestLongestSequence(int in[], size_t inSz, int eta[])
UNIT_TEST(LS_Smoke)
{
{
int arr[] = { 1 };
int arr[] = {1};
TestLongestSequence(arr, ARRAY_SIZE(arr), arr);
}
{
int arr[] = { 1, 2 };
int arr[] = {1, 2};
TestLongestSequence(arr, ARRAY_SIZE(arr), arr);
}
{
int arr[] = { 2, 1 };
int arr[] = {2, 1};
TestLongestSequence(arr, ARRAY_SIZE(arr), arr);
}
{
int arr[] = { 1, 9, 2, 3, 8, 0, 7, -1, 7, -2, 7 };
int res[] = { 1, 2, 3, 7, 7, 7 };
int arr[] = {1, 9, 2, 3, 8, 0, 7, -1, 7, -2, 7};
int res[] = {1, 2, 3, 7, 7, 7};
TestLongestSequence(arr, ARRAY_SIZE(arr), res);
}
}