summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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 */