[wadalabfont-kit] / jis2prim / AssumptionTest.h  

Diff of /jis2prim/AssumptionTest.h

Parent Directory | Revision Log

version 1.3, Tue Aug 6 06:30:43 2002 UTC version 1.4, Tue Aug 20 11:10:36 2002 UTC
Line 5 
Line 5 
 #include <cppunit/TestSuite.h>  #include <cppunit/TestSuite.h>
 #include <cppunit/TestResult.h>  #include <cppunit/TestResult.h>
 #include <cppunit/TextTestRunner.h>  #include <cppunit/TextTestRunner.h>
   #include <cppunit/extensions/HelperMacros.h>
 #include "Assumption.h"  #include "Assumption.h"
 #include <iostream>  #include <iostream>
 #include <vector>  #include <vector>
   
 using namespace CppUnit;  class AssumptionTest : public CppUnit::TestFixture {
     CPPUNIT_TEST_SUITE( AssumptionTest );
 class AssumptionTest : public TestCase {    CPPUNIT_TEST( testShow );
     CPPUNIT_TEST_SUITE_END();
  private:   private:
   Assumption *a1;    Assumption *a1;
  public:   public:
   void setUp(){    void setUp();
     a1=new Assumption();    void tearDown();
     a1->add(AndAssumption().add(SimpleAssumption((PtypeMask)(YokoMask|TenMask),JointStart,0,0,90,0)));    void testShow();
   }  
   void tearDown(){  
     delete a1;  
   }  
   void testShow(){  
     std::cout << *a1;  
   }  
   static Test *suite(){  
     TestSuite *suiteOfTests = new TestSuite;  
     suiteOfTests->addTest (new TestCaller<AssumptionTest>("testShow", &AssumptionTest::testShow));  
     return suiteOfTests;  
   }  
 };  };
   
   


Generate output suitable for use with a patch program
Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

ktanaka

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help