def test_group_four_has_one_yes(): assert count_yes_in_group(split_members( split_groups(sample_input)[3])) == 1
def test_group_three_has_three_yes(): assert count_yes_in_group(split_members( split_groups(sample_input)[2])) == 3
def test_group_five_has_one_unanimous_yes(): assert count_yes_in_group_unanimous( split_members(split_groups(sample_input)[4])) == 1
def test_group_two_has_zero_unanimous_yes(): assert count_yes_in_group_unanimous( split_members(split_groups(sample_input)[1])) == 0
def test_group_five_has_one_member(): assert len(split_members(split_groups(sample_input)[4])) == 1
def test_group_two_has_three_member(): assert len(split_members(split_groups(sample_input)[1])) == 3