summaryrefslogtreecommitdiff
path: root/tests/UnitTests.h
blob: e97456b424e3327b7b9efb9f9461f5e0d7c0909e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _UNITTESTS_H
#define _UNITTESTS_H

#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/Exception.h>
#include <cppunit/Portability.h>

#define assertDoublesEqual(x,y,z,w) CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(x,y,z,w)
#define assertEquals(x,y)	    CPPUNIT_ASSERT_EQUAL(x,y)
#define assertEqualsMessage(x,y,z)  CPPUNIT_ASSERT_EQUAL_MESSAGE(x,y,z)
#define assertMessage(x,y)	    CPPUNIT_ASSERT_MESSAGE(x,y)
#define assertThrow(x,y)	    CPPUNIT_ASSERT_THROW(x,y)

#endif /* _UNITTESTS_H */