aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libother/number.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libother/number.h')
-rw-r--r--tests/libother/number.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/libother/number.h b/tests/libother/number.h
index 9deeb680d..796987331 100644
--- a/tests/libother/number.h
+++ b/tests/libother/number.h
@@ -26,6 +26,7 @@
#include "libothermacros.h"
#include "str.h"
#include "point.h"
+#include "complex.h"
class LIBOTHER_API Number
{
@@ -38,6 +39,9 @@ public:
friend LIBOTHER_API Point operator*(const Point&, const Number&);
+ Complex toComplex() const;
+ static Number fromComplex(Complex cpx);
+
private:
int m_value;
};
@@ -45,4 +49,3 @@ private:
LIBOTHER_API Point operator*(const Point&, const Number&);
#endif // NUMBER_H
-