}
@Test
public void testAttack(){
Character c2 = new FlyingKnight("flyingknight");
Character c3 = new Warrior("warrior");
c2.setTarget(c3);
c3.setTarget(c2);
System.out.println(c2.getCurrentHealth() + " " + c3.getCurrentHealth());
c2.attack();
System.out.println(c2.getCurrentHealth() + " " + c3.getCurrentHealth());
assertTrue(c3.ifAlive() == true);
c2.attack();
System.out.println(c2.getCurrentHealth() + " " + c3.getCurrentHealth());
c2.attack();
System.out.println(c2.getCurrentHealth() + " " + c3.getCurrentHealth());
c2.attack();
System.out.println(c2.getCurrentHealth() + " " + c3.getCurrentHealth());
assertTrue(c3.ifAlive() == false);
c3.setHealth(20);
}