summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-10-16 12:17:13 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-10-16 13:45:30 -0400
commit77c8686edd087a605b69e71c51c9adfe5bd26720 (patch)
treec079c39daf8f68f3dfb7caf3089a2d48ba81935e /tests
parent22062b43dbfeb78bdabf8f2693fcf880349d9cde (diff)
pke: update pk.h to 0.9.4
Diffstat (limited to 'tests')
-rw-r--r--tests/pke-test-types.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/pke-test-types.h b/tests/pke-test-types.h
index 097d42f..5a9ee24 100644
--- a/tests/pke-test-types.h
+++ b/tests/pke-test-types.h
@@ -3,7 +3,6 @@
#include <setjmp.h>
#include <stdint.h>
-#include <cmath>
struct pke_test_long_jump {
uint8_t expected_exit;
@@ -39,9 +38,4 @@ struct pke_test_group {
#define PKE_TEST_ASSERT(condition, index) if (!(condition)) { return ++index; } else { ++index; }
-template<typename T>
-inline bool flt_equal(T a, T b, T epsilon) {
- return std::abs(a - b) < epsilon;
-}
-
#endif /* PKE_PKE_TEST_TYPES_H */