Assert on equality operator.