package myfirst.test;

import org.seasar.extension.unit.S2TestCase;

import junit.textui.TestRunner;
// import junit.swingui.TestRunner;

import myfirst.di.*;

public class AreaTest extends S2TestCase  {

  private static String DICON_FILE = "s2test.dicon";

  private Area            area;

  public void testArea() throws Exception  {
    assertEquals( 1.0, area.findArea() );         // モックオブジェクトでテスト
  }

  protected void setUp() throws Exception  {  include( DICON_FILE );  }

  public AreaTest( String name ) {  super( name );  }

  public static void main( String[] args )  {
    TestRunner.run( AreaTest.class );
  }

}
