function mouseZoomIn(ticks) {
  assertGT(ticks, 0);
  var oldScale = graphView().scale_;
  var oldRange = scrollbar().getRange();

  mouseZoom(ticks);

  if (oldScale == graphView().scale_) {
    expectEquals(oldScale, TimelineGraphView.MIN_SCALE);
  } else {
    expectLT(graphView().scale_, oldScale);
  }
  expectGE(scrollbar().getRange(), oldRange);
}
/**
 * Simulates moving the mouse wheel up.
 * @param {number} ticks Number of mouse wheel ticks to simulate.
 */
Simulates moving the mouse wheel up.
@param {number} ticks Number of mouse wheel ticks to simulate.
Simulates moving the mouse wheel up . @param { number } ticks Number of mouse wheel ticks to simulate .
function mouseZoomIn(ticks) {
  assertGT(ticks, 0);
  var oldScale = graphView().scale_;
  var oldRange = scrollbar().getRange();
  mouseZoom(ticks);
  if (oldScale == graphView().scale_) {
    expectEquals(oldScale, TimelineGraphView.MIN_SCALE);
  } else {
    expectLT(graphView().scale_, oldScale);
  }
  expectGE(scrollbar().getRange(), oldRange);
}
function mouseZoomIn ( ticks ) { assertGT ( ticks , 0 ) ; var oldScale = graphView ( ) . scale_ ; var oldRange = scrollbar ( ) . getRange ( ) ; mouseZoom ( ticks ) ; if ( oldScale == graphView ( ) . scale_ ) { expectEquals ( oldScale , TimelineGraphView . MIN_SCALE ) ; } else { expectLT ( graphView ( ) . scale_ , oldScale ) ; } expectGE ( scrollbar ( ) . getRange ( ) , oldRange ) ; }
Simulates moving the mouse wheel up.
Simulates moving the mouse wheel up .