예제 #1
0
        public void Nurse_Can_Draw_Blood()
        {
            Nurse nurse = new Nurse(1, "Nurse", false, 2);

            Patient patient = new Patient(1, "patient");

            nurse.NurseDrawBlood(patient);

            Assert.Equal(15, patient.BloodLevel);
        }
예제 #2
0
        public void Patient_Blood_Level_Can_Change()
        {
            Patient patient = new Patient(1, "Patient");

            Nurse nurse = new Nurse(1, "Nurse", false, 2);

            nurse.NurseDrawBlood(patient);

            Assert.Equal(15, patient.BloodLevel);
        }