aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/pairuser.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/pairuser.h')
-rw-r--r--tests/libsample/pairuser.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/libsample/pairuser.h b/tests/libsample/pairuser.h
new file mode 100644
index 000000000..27cf76681
--- /dev/null
+++ b/tests/libsample/pairuser.h
@@ -0,0 +1,19 @@
+#ifndef PAIRUSER_H
+#define PAIRUSER_H
+
+#include <utility>
+#include "complex.h"
+
+class PairUser
+{
+public:
+ PairUser() {}
+ ~PairUser() {}
+
+ virtual std::pair<int, int> createPair();
+ std::pair<int, int> callCreatePair();
+ static std::pair<Complex, Complex> createComplexPair(Complex cpx0, Complex cpx1);
+ double sumPair(std::pair<int, double> pair);
+};
+#endif // PAIRUSER_H
+