コード例 #1
0
        public void A_persons_blood_groups_code_can_be_obtained(BloodGroup bloodGroup)
        {
            var person = new Person(bloodGroup);

            Assert.That(person.GetBloodGroupCode(), Is.EqualTo(bloodGroup.GetCode()));
        }
コード例 #2
0
 public int GetBloodGroupCode()
 {
     return(_bloodGroup.GetCode());
 }