Package horse

Examples of horse.Area


  }

  @Test
  public void testSetStartPoint()
  {
    area = new Area( 5, 5 );
    area.setStartPoint( 0, 0 );
  }
View Full Code Here


  }
 
  @Test (expected = ArrayIndexOutOfBoundsException.class)
  public void testSetEndPointOutSizeN()
  {
    area = new Area( 5, 5 );
    area.setEndPoint( 5, 4 );
  }
View Full Code Here

  }
 
  @Test (expected = ArrayIndexOutOfBoundsException.class)
  public void testSetEndPointOutSizeM()
  {
    area = new Area( 5, 5 );
    area.setEndPoint( 4, 5 );
  }
View Full Code Here

  }
 
  @Test (expected = ArrayIndexOutOfBoundsException.class)
  public void testSetEndPointOutSize_m()
  {
    area = new Area( 5, 5 );
    area.setEndPoint( 4, -1 );
  }
View Full Code Here

  }
 
  @Test (expected = ArrayIndexOutOfBoundsException.class)
  public void testSetEndPointOutSize_n()
  {
    area = new Area( 5, 5 );
    area.setEndPoint( -1, 4 );
  }
View Full Code Here

  }

  @Test
  public void testSetEndPoint()
  {
    area = new Area( 5, 5 );
    area.setEndPoint( 0, 0 );
  }
View Full Code Here

  }
 
  @Test (expected = ArrayIndexOutOfBoundsException.class)
  public void testCheckEndOutSizeN()
  {
    area = new Area( 5, 5 );
    area.checkEnd(9, 0);
  }
View Full Code Here

 
 
  @Test (expected = ArrayIndexOutOfBoundsException.class)
  public void testCheckEndOutSizeM()
  {
    area = new Area( 5, 5 );
    area.checkEnd(0, 9);
  }
View Full Code Here

  }
 
  @Test
  public void testCheckEnd()
  {
    area = new Area( 5, 5 );
    area.setEndPoint(3, 0);
    assertTrue(area.checkEnd(5, 2));
  }
View Full Code Here

 
 
  @Test (expected = ArrayIndexOutOfBoundsException.class)
  public void testSetValueOutSizeN()
  {
    area = new Area( 5, 5 );
    area.setValue(9, 5, 1);
  }
View Full Code Here

TOP

Related Classes of horse.Area

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.