netxsimdg
Loading...
Searching...
No Matches
moduleTestClasses.hpp
1/*
2 * @file moduleTestClasses.hpp
3 *
4 * @date Oct 21, 2021
5 * @author Tim Spain <timothy.spain@nersc.no>
6 */
7
8#ifndef TEST_TESTCLASSES_HPP
9#define TEST_TESTCLASSES_HPP
10
11// Test classes
12class ITest
13{
14public:
15 virtual ~ITest() = default;
16 virtual int operator()() {return 0;}
17};
18class Impl1 : public ITest
19{
20public:
21 ~Impl1() = default;
22 int operator()() override {return 1;}
23};
24class Impl2 : public ITest {
25public:
26 ~Impl2() = default;
27 int operator()() override {return 2;}
28};
29
30#endif /* TEST_TESTCLASSES_HPP */