function assertEquals(expected, actual, message) {
    if (message === undefined)
        message = 'Expected <' + expected + '> (' + typeof(expected) + '), but instead received <'
            + actual + '> (' + typeof(actual) + ').';

    // Any other combination of objects.
    if (expected !== actual)
        throw message;
}
/**
 * Asserts that two objects are equal.
 *
 * @param {object} expected The expected value of the object.
 * @param {object} actual The actual value of the object.
 * @param {string} message Optional. A message to display if expected and actual are not equal.
 */
Asserts that two objects are equal.
@param {object} expected The expected value of the object.
@param {object} actual The actual value of the object.
@param {string} message Optional. A message to display if expected and actual are not equal.
Asserts that two objects are equal . @param { object } expected The expected value of the object . @param { object } actual The actual value of the object . @param { string } message Optional . A message to display if expected and actual are not equal .
function assertEquals(expected, actual, message) {
    if (message === undefined)
        message = 'Expected <' + expected + '> (' + typeof(expected) + '), but instead received <'
            + actual + '> (' + typeof(actual) + ').';
    if (expected !== actual)
        throw message;
}
function assertEquals ( expected , actual , message ) { if ( message === undefined ) message = 'Expected <' + expected + '> (' + typeof ( expected ) + '), but instead received <' + actual + '> (' + typeof ( actual ) + ').' ; if ( expected !== actual ) throw message ; }
Asserts that two objects are equal.
Asserts that two objects are equal .
// Any other combination of objects.