Posts Tagged ‘assertEquals’

assertEquals using != and the difference between != and !==

January 4, 2010 Leave a comment

When using the assertEquals method in Flexunit 4, it is important to understand how the != operator works.

I was under the assumption that != checked the values of the items on either side of the operand, while the !== checked the reference, but != checking values is only partially true.

Read more…