testAssertHeight() {
    document.body.appendChild(div1);

    // Test correct height
    assertHeight(div1, DEFAULT_HEIGHT);


    // Test wrong height
    assertThrowsJsUnitException(
        goog.bind(assertHeightWithinTolerance, null, div1, 300, undefined, undefined));

    // Test a valid tolerance value
    assertHeightWithinTolerance(div1, 90, 10);

    // Test exceeding tolerance value
    assertThrowsJsUnitException(goog.bind(assertHeight, null, div1, 50, 0.2));
  }
Tests assertHeight. @suppress {checkTypes} suppression added to enable
     type checking