idempotentUnion<T> static method
Verifies the Idempotent Law for Union.
Law: A ∪ A = A
The union of a set with itself equals the original set.
Implementation
static bool idempotentUnion<T>(CustomSet<T> a) =>
SetOperations.union(a, a).equals(a);