Package com.voyagegames.core.modules

Examples of com.voyagegames.core.modules.Counter.up()


  }

  @Test
  public void up_incrementsValue() {
    Counter c = new Counter();
    c.up();
    assertTrue(c.value() == 1);
  }

  @Test
  public void up_bySpecificValueIncrements() {
View Full Code Here


  }

  @Test
  public void up_bySpecificValueIncrements() {
    Counter c = new Counter();
    c.up(5);
    assertTrue(c.value() == 5);
  }

  @Test
  public void down_decrementsValue() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.