diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-08-17 19:31:37 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-08-17 19:31:37 -0300 |
commit | e0c29962e6f334452f0c9db2caaf6ed18065de85 (patch) | |
tree | cee27801c196fbcacf6130ad64216af133b555dd /tests/libsample/pairuser.h |
The End Is the Beginning Is the End
Diffstat (limited to 'tests/libsample/pairuser.h')
-rw-r--r-- | tests/libsample/pairuser.h | 19 |
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 + |