Package de.gamobi.jkariam.core

Examples of de.gamobi.jkariam.core.Building


public class BuildingTest {
 
  @Test
  public void akademieTest() {
    try {
      Building akademie = new Building("Akademie");
      assertEquals(-1, akademie.getMaxLevel());
      assertEquals(0, akademie.getLevel());
      assertEquals(1, akademie.getWoodBonus(), 0);
      assertEquals(1, akademie.getLuxusBonus(), 0);
    } catch (BuildingNotFoundException e) {
      assertTrue(false);
      e.printStackTrace();
    } catch (JDOMException e) {
      assertTrue(false);
View Full Code Here


    }
  }
 
  @Test(expected = BuildingNotFoundException.class)
  public void buildingNotFoundExceptionTest() throws JDOMException, IOException, BuildingNotFoundException {
    new Building("WTC");
  }
View Full Code Here

TOP

Related Classes of de.gamobi.jkariam.core.Building

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.