Question: Please help me write a VS project in C + + that follows the following instructions. There is a solution that goes along with the

Please help me write a VS project in C++ that follows the following instructions. There is a solution that goes along with the prompt, however I couldnt sent it, please ask for more info, so I can send it.
Prompt::
Create a unit test for the monsterAttack function.
Create a vector with two monsters on it.
Give them a health >0 and a strength of 3.
Create a player with 5 strength and 20 Health
call monsterAttack
ASSERT that the players health <=20.
ASSERT monsters health did not change;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!