version 1.1, Thu Feb 21 11:57:39 2002 UTC | version 1.3, Tue Aug 6 06:30:43 2002 UTC | ||
---|---|---|---|
|
|
||
#include <cppunit/TestResult.h> | #include <cppunit/TestResult.h> | ||
#include <cppunit/TextTestRunner.h> | #include <cppunit/TextTestRunner.h> | ||
#include "Assumption.h" | #include "Assumption.h" | ||
#include <iostream> | |||
#include <vector> | |||
using namespace CppUnit; | using namespace CppUnit; | ||
|
|
||
public: | public: | ||
void setUp(){ | void setUp(){ | ||
a1=new Assumption(); | a1=new Assumption(); | ||
a1->add(AndAssumption().add(SimpleAssumption((PtypeMask)(YokoMask|TenMask),JointStart,0,0,90))); | a1->add(AndAssumption().add(SimpleAssumption((PtypeMask)(YokoMask|TenMask),JointStart,0,0,90,0))); | ||
} | } | ||
void tearDown(){ | void tearDown(){ | ||
delete a1; | delete a1; | ||
} | } | ||
void testShow(){ | void testShow(){ | ||
cout << *a1; | std::cout << *a1; | ||
} | } | ||
static Test *suite(){ | static Test *suite(){ | ||
TestSuite *suiteOfTests = new TestSuite; | TestSuite *suiteOfTests = new TestSuite; |
|
ktanaka Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |