def test_universal_donor(): donor = Bloodtype.ZERO_NEG for i in range(8): recipient = Bloodtype(i) assert check_bt(donor, recipient)
def test_universal_recipient(): recipient = Bloodtype.AB_POS for i in range(8): donor = Bloodtype(i) assert check_bt(donor, recipient)