summaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/atomic/bool_ut.cpp
diff options
context:
space:
mode:
authortobo <[email protected]>2026-01-29 19:53:40 +0300
committertobo <[email protected]>2026-01-29 20:22:11 +0300
commit99d70efea929dc771a634078b67cb2f6254ed253 (patch)
treea4c07a1f2a27f2338877fdfd89d0aba1546f4c9e /library/cpp/threading/atomic/bool_ut.cpp
parent583d77b2c85ee2b73f8f45d63302f3cf89cb18d0 (diff)
move library/cpp/threading/atomic to library/cpp/deprecated/atomic_bool
commit_hash:0981fb113212b130cb676672e125982188e4fd20
Diffstat (limited to 'library/cpp/threading/atomic/bool_ut.cpp')
-rw-r--r--library/cpp/threading/atomic/bool_ut.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/library/cpp/threading/atomic/bool_ut.cpp b/library/cpp/threading/atomic/bool_ut.cpp
deleted file mode 100644
index 9481f41d8dc..00000000000
--- a/library/cpp/threading/atomic/bool_ut.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-#include "bool.h"
-
-#include <library/cpp/testing/unittest/registar.h>
-
-Y_UNIT_TEST_SUITE(AtomicBool) {
- Y_UNIT_TEST(ReadWrite) {
- NAtomic::TBool v;
-
- UNIT_ASSERT_VALUES_EQUAL((bool)v, false);
-
- v = true;
-
- UNIT_ASSERT_VALUES_EQUAL((bool)v, true);
-
- v = false;
-
- UNIT_ASSERT_VALUES_EQUAL((bool)v, false);
-
- NAtomic::TBool v2;
-
- UNIT_ASSERT(v == v2);
-
- v2 = true;
-
- UNIT_ASSERT(v != v2);
-
- v = v2;
-
- UNIT_ASSERT(v == v2);
- }
-}