Package vee.enemies

Examples of vee.enemies.Henchwoman.unequip()


  public void testEquipCorsetOnEmptyChestSlot() {
    System.out.println("Testing equipping a corset on an empty chest slot");
    Corset corset = new Corset();
    Henchwoman h = new Henchwoman();
   
    h.unequip(h.equipment.getChest());

    assertEquals(h.equipment.getChest(), null);
    boolean result = h.equip(corset);

    assertEquals(result, true);
View Full Code Here


    h.inventory.addBag();

    h.equip(corset);
    assertEquals(h.isEquipped(corset), true);

    h.unequip(corset);
    assertEquals(h.isEquipped(corset), false);
    assertEquals(h.inInventory(corset), true);


  }
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.