def test_merge_two(): req = merge_requirements( 'HasPie == true', 'HasCake == false', ) assert req == '(HasPie == true) && (HasCake == false)'
def test_merge_with_none(): req = merge_requirements( 'HasPie == true', None, ) assert req == '(HasPie == true)'
def test_merge_with_none(): req = merge_requirements( "HasPie == true", None, ) assert req == "(HasPie == true)"
def test_merge_two(): req = merge_requirements( "HasPie == true", "HasCake == false", ) assert req == "(HasPie == true) && (HasCake == false)"
def test_merge_three(): req = merge_requirements( 'HasPie == true', 'HasCake == false', 'IsHappy == true', ) assert req == '(HasPie == true) && (HasCake == false) && (IsHappy == true)'
def test_merge_three(): req = merge_requirements( "HasPie == true", "HasCake == false", "IsHappy == true", ) assert req == "(HasPie == true) && (HasCake == false) && (IsHappy == true)"
def test_merge_nothing(): req = merge_requirements() assert req is None