@Test public void testShield() { s1 = EquipmentFactory.createShield(s1, 50); s1.parry(s2.strike()); assertEquals(150, s1.getHealth()); }
@Test public void testParry() { s1.parry(s2.strike()); assertEquals(150 - 25, s1.getHealth()); }