Exemple #1
0
        public void Should_change_Patients_Health_level_After_Nurse_Visits()
        {
            Nurse sabrina = new Nurse(12, "Sabrina", false, 43);

            Patient jessica = new Patient(1, "Jessica");

            sabrina.TakingCareofPatient(jessica);


            Assert.Equal(20, jessica.HEALTH_LEVEL);
        }
        public void Should_change_Health_level()     // Patient's  HEALTH_LEVEL  should increase
        {                                            //ARRANGE
            Patient Danna = new Patient(1, "Danna"); //HEALTH_LEVEL =10

            //ACT
            Nurse sabrina = new Nurse(12, "Sabrina", false, 43);

            sabrina.TakingCareofPatient(Danna); //Increases Patient's HEALTH_LEVEL BY 10

            //        ASSERT
            //           Assert.Equal(20,jessica.HEALTH_LEVEL);
        }