1 |
tim |
136 |
#ifndef BRAINS_SNAPSHOTTESTCASE_HPP
|
2 |
|
|
#define BRAINS_SNAPSHOTTESTCASE_HPP
|
3 |
|
|
|
4 |
|
|
#include <cppunit/extensions/HelperMacros.h> |
5 |
|
|
#include "brains/Snapshot.hpp"
|
6 |
|
|
|
7 |
|
|
using namespace oopse; |
8 |
|
|
|
9 |
|
|
class SnapshotTestCase : public CPPUNIT_NS::TestFixture { |
10 |
|
|
CPPUNIT_TEST_SUITE( SnapshotTestCase ); |
11 |
tim |
146 |
CPPUNIT_TEST(testMemoryLayout);
|
12 |
|
|
CPPUNIT_TEST(testConstructors);
|
13 |
tim |
136 |
|
14 |
|
|
CPPUNIT_TEST_SUITE_END(); |
15 |
|
|
|
16 |
|
|
public: |
17 |
|
|
virtual void setUp(); |
18 |
tim |
146 |
virtual void tearDown();
|
19 |
|
|
void testMemoryLayout();
|
20 |
tim |
136 |
void testConstructors(); |
21 |
|
|
|
22 |
|
|
private: |
23 |
|
|
|
24 |
|
|
}; |
25 |
|
|
|
26 |
|
|
|
27 |
|
|
#endif |