Two scala collections cannot be equal if they are of different categories (Set, Seq, Map or Iterator). Comparing them
with arrays is also pointless. Inspection suggests to convert one of the collection to make them of same kind.
Before:
seq == iterator
seq != array
After:
seq.toIterator == iterator or seq == iterator.toSeq
seq != array.toSeq