Example #1
0
        public void EditEmployee_Temperature38_ReturnsTemperature38()
        {
            var healthDataHolder = new HealthDataHolder();

            healthDataHolder.AddEmployee("123456789", "Sophie", "36.5", false, false);
            healthDataHolder.EditEmployee(healthDataHolder.DataHolder, "123456789", "Sophie", "38", true, false);
            Assert.Equal("38", healthDataHolder.DataHolder["123456789"].Temperature);
        }