player with 100 hp taking 5 damage from enemy ` dark enemy level one ' . concode_field_sep PlaceHolder placeHolder concode_field_sep void testLootGoldFromEnemy concode_elem_sep void testUnEquipArmor concode_elem_sep void testKillEnemy concode_elem_sep void testUnEquipWeapon concode_elem_sep void testLootItem concode_elem_sep void testEquipArmor concode_elem_sep void testRemoveItem concode_elem_sep void testEquipWeapon
void function ( ) { Player loc0 = new Player ( ) ; loc0 . resetPlayer ( ) ; loc0 . setMaxHealth ( 100 ) ; IEnemy loc1 = EnemyFactory . createEnemy ( Enemy . REGULAR_LEVEL_ONE , 20 , 20 ) ; IAttack loc2 = new MeleeAttack ( loc1 ) ; loc0 . onCollide ( loc2 ) ; assertTrue ( loc0 . getHealth ( ) == 95 ) ; }