c3.setHealth(20);
}
@Test
public void testStatus(){
Character c4 = new Mage("mage");
Character c3 = new Warrior("warrior");
c4.setTarget(c3);
c3.setTarget(c4);
System.out.println(c4.statusToString());
assertTrue(c4.getCurrentHealth() == 21);
c4.addItem(new Elixir());
c3.attack();
System.out.println(c4.statusToString());
assertTrue(c4.getCurrentHealth() == 15);
c4.useItem(0);
System.out.println(c4.statusToString());
assertTrue(c4.getCurrentHealth() == 21);
}