Equals on arrays and iterators checks reference equality which is rarely useful. Inspection suggests to compare their content with sameElements method. Inspection also detects comparing arrays with scala sequences.

Before:

Array(1) == Array(1) //false
Iterator(1) == Iterator(1) //false

After:
Array(1) sameElements Array(1) //true
Iterator(1) sameElements Iterator(1) //true