@ -64,44 +64,44 @@
that:
that:
- '[1,2,3]|intersect([4,5,6]) == []'
- '[1,2,3]|intersect([4,5,6]) == []'
- '[1,2,3]|intersect([3,4,5,6]) == [3]'
- '[1,2,3]|intersect([3,4,5,6]) == [3]'
- '[1,2,3]|intersect([3,2,1]) == [1,2,3]'
- '[1,2,3]|intersect([3,2,1]) | sort == [1,2,3]'
- '(1,2,3)|intersect((4,5,6)) |list == []'
- '(1,2,3)|intersect((4,5,6)) == []'
- '(1,2,3)|intersect((3,4,5,6)) |list == [3]'
- '(1,2,3)|intersect((3,4,5,6)) == [3]'
- '["a","A","b"]|intersect(["B","c","C"]) == []'
- '["a","A","b"]|intersect(["B","c","C"]) == []'
- '["a","A","b"]|intersect(["b","B","c","C"]) == ["b"]'
- '["a","A","b"]|intersect(["b","B","c","C"]) == ["b"]'
- '["a","A","b"]|intersect(["b","A","a"]) == ["a","A ","b"]'
- '["a","A","b"]|intersect(["b","A","a"]) | sort(case_sensitive=True) == ["A","a ","b"]'
- '("a","A","b")|intersect(("B","c","C")) |list == []'
- '("a","A","b")|intersect(("B","c","C")) == []'
- '("a","A","b")|intersect(("b","B","c","C")) |list == ["b"]'
- '("a","A","b")|intersect(("b","B","c","C")) == ["b"]'
- name : Verify difference
- name : Verify difference
tags : difference
tags : difference
assert:
assert:
that:
that:
- '[1,2,3]|difference([4,5,6]) == [1,2,3]'
- '[1,2,3]|difference([4,5,6]) | sort == [1,2,3]'
- '[1,2,3]|difference([3,4,5,6]) == [1,2]'
- '[1,2,3]|difference([3,4,5,6]) | sort == [1,2]'
- '[1,2,3]|difference([3,2,1]) == []'
- '[1,2,3]|difference([3,2,1]) == []'
- '(1,2,3)|difference((4,5,6)) |lis t == [1,2,3]'
- '(1,2,3)|difference((4,5,6)) | sor t == [1,2,3]'
- '(1,2,3)|difference((3,4,5,6)) |lis t == [1,2]'
- '(1,2,3)|difference((3,4,5,6)) | sor t == [1,2]'
- '["a","A","b"]|difference(["B","c","C"]) == ["a","A ","b"]'
- '["a","A","b"]|difference(["B","c","C"]) | sort(case_sensitive=True) == ["A","a ","b"]'
- '["a","A","b"]|difference(["b","B","c","C"]) == ["a","A "]'
- '["a","A","b"]|difference(["b","B","c","C"]) | sort(case_sensitive=True) == ["A","a "]'
- '["a","A","b"]|difference(["b","A","a"]) == []'
- '["a","A","b"]|difference(["b","A","a"]) == []'
- '("a","A","b")|difference(("B","c","C")) |list| sort(case_sensitive=True) == ["A","a","b"]'
- '("a","A","b")|difference(("B","c","C")) | sort(case_sensitive=True) == ["A","a","b"]'
- '("a","A","b")|difference(("b","B","c","C")) |list| sort(case_sensitive=True) == ["A","a"]'
- '("a","A","b")|difference(("b","B","c","C")) | sort(case_sensitive=True) == ["A","a"]'
- name : Verify symmetric_difference
- name : Verify symmetric_difference
tags : symmetric_difference
tags : symmetric_difference
assert:
assert:
that:
that:
- '[1,2,3]|symmetric_difference([4,5,6]) == [1,2,3,4,5,6]'
- '[1,2,3]|symmetric_difference([4,5,6]) | sort == [1,2,3,4,5,6]'
- '[1,2,3]|symmetric_difference([3,4,5,6]) == [1,2,4,5,6]'
- '[1,2,3]|symmetric_difference([3,4,5,6]) | sort == [1,2,4,5,6]'
- '[1,2,3]|symmetric_difference([3,2,1]) == []'
- '[1,2,3]|symmetric_difference([3,2,1]) == []'
- '(1,2,3)|symmetric_difference((4,5,6)) |lis t == [1,2,3,4,5,6]'
- '(1,2,3)|symmetric_difference((4,5,6)) | sor t == [1,2,3,4,5,6]'
- '(1,2,3)|symmetric_difference((3,4,5,6)) |lis t == [1,2,4,5,6]'
- '(1,2,3)|symmetric_difference((3,4,5,6)) | sor t == [1,2,4,5,6]'
- '["a","A","b"]|symmetric_difference(["B","c","C"]) == ["a","A","b","B","c","C "]'
- '["a","A","b"]|symmetric_difference(["B","c","C"]) | sort(case_sensitive=True) == ["A","B","C","a","b","c "]'
- '["a","A","b"]|symmetric_difference(["b","B","c","C"]) == ["a","A","B","c","C "]'
- '["a","A","b"]|symmetric_difference(["b","B","c","C"]) | sort(case_sensitive=True) == ["A","B","C","a","c "]'
- '["a","A","b"]|symmetric_difference(["b","A","a"]) == []'
- '["a","A","b"]|symmetric_difference(["b","A","a"]) == []'
- '("a","A","b")|symmetric_difference(("B","c","C")) |list| sort(case_sensitive=True) == ["A","B","C","a","b","c"]'
- '("a","A","b")|symmetric_difference(("B","c","C")) | sort(case_sensitive=True) == ["A","B","C","a","b","c"]'
- '("a","A","b")|symmetric_difference(("b","B","c","C")) |list| sort(case_sensitive=True) == ["A","B","C","a","c"]'
- '("a","A","b")|symmetric_difference(("b","B","c","C")) | sort(case_sensitive=True) == ["A","B","C","a","c"]'
- name : Verify union
- name : Verify union
tags : union
tags : union
@ -112,11 +112,11 @@
- '[1,2,3]|union([3,2,1]) == [1,2,3]'
- '[1,2,3]|union([3,2,1]) == [1,2,3]'
- '(1,2,3)|union((4,5,6))|list == [1,2,3,4,5,6]'
- '(1,2,3)|union((4,5,6))|list == [1,2,3,4,5,6]'
- '(1,2,3)|union((3,4,5,6))|list == [1,2,3,4,5,6]'
- '(1,2,3)|union((3,4,5,6))|list == [1,2,3,4,5,6]'
- '["a","A","b"]|union(["B","c","C"]) == ["a","A","b","B","c","C "]'
- '["a","A","b"]|union(["B","c","C"]) | sort(case_sensitive=True) == ["A","B","C","a","b","c "]'
- '["a","A","b"]|union(["b","B","c","C"]) == ["a","A","b","B","c","C "]'
- '["a","A","b"]|union(["b","B","c","C"]) | sort(case_sensitive=True) == ["A","B","C","a","b","c "]'
- '["a","A","b"]|union(["b","A","a"]) == ["a","A ","b"]'
- '["a","A","b"]|union(["b","A","a"]) | sort(case_sensitive=True) == ["A","a ","b"]'
- '("a","A","b")|union(("B","c","C")) |list| sort(case_sensitive=True) == ["A","B","C","a","b","c"]'
- '("a","A","b")|union(("B","c","C")) | sort(case_sensitive=True) == ["A","B","C","a","b","c"]'
- '("a","A","b")|union(("b","B","c","C")) |list| sort(case_sensitive=True) == ["A","B","C","a","b","c"]'
- '("a","A","b")|union(("b","B","c","C")) | sort(case_sensitive=True) == ["A","B","C","a","b","c"]'
- name : Verify min
- name : Verify min
tags : min
tags : min