Beispiel #1
0
        public void Should_set_priority_in_accordance_with_Glasgow(int glasgowValue, int expectedPriority)
        {
            var list = new List <Patient> {
                new Patient {
                    GSC = glasgowValue
                }
            };

            var returnList = Priority.CountPriorityBasedOnGlasgowScale(list);

            Assert.AreEqual(returnList.First().Priority, expectedPriority, $"Should be priority {expectedPriority}, but was {returnList.First().Priority}");
        }