From a56a8cc899dc90701f1690051da4e4318e95566c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 5 Mar 2024 21:02:23 +0100 Subject: test: remove dead/useless code --- src/timer-test.cpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/timer-test.cpp (limited to 'src') 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 -- cgit v1.2.3