Apply formating to all files. CLeanup

This commit is contained in:
IlyaShurupov 2023-10-22 17:07:28 +03:00 committed by Ilya Shurupov
parent b4ae5dde77
commit 91fb72bd49
928 changed files with 14515 additions and 21479 deletions

View file

@ -1,8 +1,8 @@
#include "NewPlacement.hpp"
#include "Tests.hpp"
#include "Testing.hpp"
#include "Buffer2D.hpp"
#include "Testing.hpp"
#include "Tests.hpp"
using namespace tp;
@ -11,8 +11,8 @@ const ualni size = 1000;
TEST_DEF_STATIC(Simple1) {
Buffer2D<int, HeapAlloc> buff;
buff.reserve({ 4, 4 });
buff.set( { 2, 2 }, 5);
TEST(buff.get( { 2, 2 } ) == 5);
buff.set({ 2, 2 }, 5);
TEST(buff.get({ 2, 2 }) == 5);
}
TEST_DEF_STATIC(Simple2) {
@ -20,6 +20,6 @@ TEST_DEF_STATIC(Simple2) {
}
TEST_DEF(Buffer2d) {
testSimple1();
testSimple2();
testSimple1();
testSimple2();
}