Package uk.org.glendale.yags.core.stats

Examples of uk.org.glendale.yags.core.stats.Attribute


*/
public class AttributeTest {
  @Test
  public void testNaming() {
    String    strength = "Strength";   
    Attribute  attribute = Attribute.valueOf(strength.toUpperCase());
   
    assertNotNull(attribute);
    assertEquals(attribute, attribute.STRENGTH);
    assertEquals(strength, attribute.toString());
  }
View Full Code Here


    assertEquals(strength, attribute.toString());
  }
 
  @Test
  public void testShortName() {
    Attribute  health = Attribute.HEALTH;
    Attribute  move = Attribute.MOVE;
   
    assertEquals("H", health.getShortName());
    assertEquals("Mv", move.getShortName());
  }
View Full Code Here

TOP

Related Classes of uk.org.glendale.yags.core.stats.Attribute

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.