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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/libsample/pairuser.h b/tests/libsample/pairuser.h
index 27cf76681..109d72189 100644
--- a/tests/libsample/pairuser.h
+++ b/tests/libsample/pairuser.h
@@ -14,6 +14,12 @@ public:
std::pair<int, int> callCreatePair();
static std::pair<Complex, Complex> createComplexPair(Complex cpx0, Complex cpx1);
double sumPair(std::pair<int, double> pair);
+
+ void setPair(std::pair<int, int> pair) { m_pair = pair; }
+ std::pair<int, int> getPair() { return m_pair; }
+
+private:
+ std::pair<int, int> m_pair;
};
#endif // PAIRUSER_H