content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package de.outstare.fortbattleplayer.model.impl;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import de.outstare.fortbattleplayer.model.impl.SimpleArea;
  import de.outstare.fortbattleplayer.model.impl.SimpleBattleField;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class SimpleBattleFieldEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        SimpleBattleField simpleBattleField0 = new SimpleBattleField(1, 1);
        assertNotNull(simpleBattleField0);
        
        SimpleArea simpleArea0 = (SimpleArea)simpleBattleField0._getArea(0, 0);
        assertEquals(1, simpleBattleField0.getHeight());
        assertEquals(0, simpleArea0.getHeight());
        assertEquals(1, simpleBattleField0.getWidth());
        assertNotNull(simpleArea0);
    }
  
    @Test
    public void test1()  throws Throwable  {
        SimpleBattleField simpleBattleField0 = new SimpleBattleField(1, 1);
        assertNotNull(simpleBattleField0);
        
        try {
          simpleBattleField0._getArea((-1110), (-1110));
          fail("Expecting exception: IllegalArgumentException");
        } catch(IllegalArgumentException e) {
          /*
           * the given coordinates does not exist on this battlefield!
           */
        }
    }
  
    @Test
    public void test2()  throws Throwable  {
        SimpleBattleField simpleBattleField0 = new SimpleBattleField((-1056), (-1056));
        assertNotNull(simpleBattleField0);
        
        try {
          simpleBattleField0._getArea(1, (-1056));
          fail("Expecting exception: IllegalArgumentException");
        } catch(IllegalArgumentException e) {
          /*
           * the given coordinates does not exist on this battlefield!
           */
        }
    }
  
    @Test
    public void test3()  throws Throwable  {
        SimpleBattleField simpleBattleField0 = new SimpleBattleField(3, 0);
        assertNotNull(simpleBattleField0);
        
        try {
          simpleBattleField0._getArea(0, 3);
          fail("Expecting exception: IllegalArgumentException");
        } catch(IllegalArgumentException e) {
          /*
           * the given coordinates does not exist on this battlefield!
           */
        }
    }
  }
  