question: protected void assertEquals ( float expected , float actual ) { if ( expected != actual ) { if ( Float . isNaN ( expected ) && Float . isNaN ( actual ) ) { } else { fail ( "Expected: " + expected + " actual: " + actual ) ; } } }
target:  Check if two values are equal, and if not throw an exception.