Open codequeen69 opened 1 year ago
An Enemy object has the following properties: -name -weapon -health -strength -agility -potion An Enemy object has the following methods: -getDescription() -getHealth() -getAttackValue() -isAlive() -reduceHealth()
write appropriate tests for the Enemy() constructor and methods.
An Enemy object has the following properties: -name -weapon -health -strength -agility -potion An Enemy object has the following methods: -getDescription() -getHealth() -getAttackValue() -isAlive() -reduceHealth()