Package vee.items.weapons

Examples of vee.items.weapons.Sword


  public void testInInventory() {
    System.out.println("Testing truth of inventory items being contained");

    Corset corset = new Corset();
    Doublet doublet = new Doublet();
    Sword sword = new Sword();
    Stilleto stilleto = new Stilleto();
    Stilleto stilleto2 = new Stilleto();

    Henchwoman h = new Henchwoman();
    h.inventory.addBag();
View Full Code Here


   * Testing adding an Item to the first and only, empty bag.
   */
  @Test
  public void testAddItemToEmptyFirstBag() {
    System.out.println("Adding an Item to an empty, first bag.");
    Sword s = new Sword();
    Inventory inventory = new Inventory();
    inventory.addBag();
    boolean result = inventory.addItem(s);
    boolean expResult = true;
    assertEquals(expResult, result);
View Full Code Here

   * Testing adding an Item to the first and only, full bag.
   */
  @Test
  public void testAddItemToFullFirstBag() {
    System.out.println("Adding an Item to a full, first bag.");
    Sword s = new Sword();
    Inventory inventory = new Inventory();
    inventory.addBag(0);
    boolean result = inventory.addItem(s);
    boolean expResult = false;
    assertEquals(expResult, result);
View Full Code Here

   * Testing adding an Item to the last, empty bag.
   */
  @Test
  public void testAddItemToEmptyLastBag() {
    System.out.println("Adding an Item to the empty, last bag.");
    Sword s = new Sword();
    Inventory inventory = new Inventory();
    inventory.addBag(0);
    inventory.addBag(16);

    boolean result = inventory.addItem(s);
View Full Code Here

   * Testing adding an Item to the last, full bag.
   */
  @Test
  public void testAddItemToFullLastBag() {
    System.out.println("Adding an Item to the full, last bag.");
    Sword s = new Sword();

    Inventory inventory = new Inventory();
    inventory.addBag(0);
    inventory.addBag(0);

View Full Code Here

TOP

Related Classes of vee.items.weapons.Sword

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.