mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-01 22:45:26 +00:00
added cppunit unit testing framework, using cmake, stripped out the original build systems.
added starting point for Bullet unit tests, with one example unit test Enable the option BUILD_UNIT_TESTS in cmake to build the test. Note that the test doesn't automatically run.
This commit is contained in:
25
UnitTests/cppunit/include/cppunit/portability/CppUnitDeque.h
Normal file
25
UnitTests/cppunit/include/cppunit/portability/CppUnitDeque.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
|
||||
#define CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
|
||||
|
||||
// The technic used is similar to the wrapper of STLPort.
|
||||
|
||||
#include <cppunit/Portability.h>
|
||||
#include <deque>
|
||||
|
||||
|
||||
#if CPPUNIT_STD_NEED_ALLOCATOR
|
||||
|
||||
template<class T>
|
||||
class CppUnitDeque : public std::deque<T,CPPUNIT_STD_ALLOCATOR>
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
#else // CPPUNIT_STD_NEED_ALLOCATOR
|
||||
|
||||
#define CppUnitDeque std::deque
|
||||
|
||||
#endif
|
||||
|
||||
#endif // CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
|
||||
|
||||
Reference in New Issue
Block a user