summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-05 21:02:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-05 21:56:56 +0100
commita56a8cc899dc90701f1690051da4e4318e95566c (patch)
treec3ac0b91176c8e92e054df9703b1cb49b0bce532 /src
parent036251d1fa388fc7b381643e06e65c988ba33def (diff)
test: remove dead/useless code
Diffstat (limited to 'src')
-rw-r--r--src/timer-test.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/timer-test.cpp b/src/timer-test.cpp
deleted file mode 100644
index 5c764da0..00000000
--- a/src/timer-test.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "timer.hpp"
-
-namespace floormat {
-
-namespace {
-
-constexpr uint64_t MAX{18446744073709551615ULL} , HALF{9223372036854775808ULL};
-static_assert(sizeof MAX == 8);
-static_assert(MAX == (uint64_t)-1);
-static_assert(HALF + (HALF - 1) == MAX);
-static_assert(MAX - HALF == HALF - 1);
-static_assert((HALF-1)*2 == MAX - 1);
-
-// todo!
-
-} // namespace
-
-} // namespace floormat