[wadalabfont-kit] / jis2prim / AssumptionTest.h  

Diff of /jis2prim/AssumptionTest.h

Parent Directory | Revision Log

version 1.2, Fri Feb 22 12:03:48 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 <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(){  
     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.2  
changed lines
  Added in v.1.4

ktanaka

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help