summaryrefslogtreecommitdiffstats
path: root/util/generic/mem_copy_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <[email protected]>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/generic/mem_copy_ut.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/generic/mem_copy_ut.cpp')
-rw-r--r--util/generic/mem_copy_ut.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/mem_copy_ut.cpp b/util/generic/mem_copy_ut.cpp
index 891827b7213..8b55a11cf68 100644
--- a/util/generic/mem_copy_ut.cpp
+++ b/util/generic/mem_copy_ut.cpp
@@ -18,10 +18,10 @@ namespace {
};
}
-Y_DECLARE_PODTYPE(TB);
+Y_DECLARE_PODTYPE(TB);
-Y_UNIT_TEST_SUITE(TestMemCopy) {
- Y_UNIT_TEST(Test1) {
+Y_UNIT_TEST_SUITE(TestMemCopy) {
+ Y_UNIT_TEST(Test1) {
char buf[] = "123";
char buf1[sizeof(buf)];
@@ -42,7 +42,7 @@ Y_UNIT_TEST_SUITE(TestMemCopy) {
int X;
};
- Y_UNIT_TEST(Test2) {
+ Y_UNIT_TEST(Test2) {
x = 0;
TA a1[5];
@@ -58,14 +58,14 @@ Y_UNIT_TEST_SUITE(TestMemCopy) {
}
}
- Y_UNIT_TEST(Test3) {
+ Y_UNIT_TEST(Test3) {
TB b1[5];
TB b2[5];
MemCopy(b2, b1, 5);
}
- Y_UNIT_TEST(Test4) {
+ Y_UNIT_TEST(Test4) {
TC c1[5];
TC c2[5];
@@ -81,7 +81,7 @@ Y_UNIT_TEST_SUITE(TestMemCopy) {
}
}
- Y_UNIT_TEST(Test5) {
+ Y_UNIT_TEST(Test5) {
struct TD {
int X;
};
@@ -104,7 +104,7 @@ Y_UNIT_TEST_SUITE(TestMemCopy) {
}
}
- Y_UNIT_TEST(TestEmpty) {
+ Y_UNIT_TEST(TestEmpty) {
char* tmp = nullptr;
UNIT_ASSERT(MemCopy(tmp, tmp, 0) == nullptr);