[wadalabfont-kit] / jis2prim / AssumptionTest.h  

Diff of /jis2prim/AssumptionTest.h

Parent Directory | Revision Log

version 1.1, Thu Feb 21 11:57:39 2002 UTC version 1.3, Tue Aug 6 06:30:43 2002 UTC
Line 6 
Line 6 
 #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;
   
Line 15 
Line 17 
  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;


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

ktanaka

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help