function checkMax(c) {
  assertEquals(favor.TIE, c.max(0, 0));
  assertEquals(favor.TIE, c.max('', ''));
  assertEquals(favor.TIE, c.max(888.88, 888.88));
  assertEquals(favor.TIE, c.max('ab', 'ab'));

  assertEquals(favor.LHS, c.max(1, 0));
  assertEquals(favor.RHS, c.max(0, 1));
  assertEquals(favor.LHS, c.max(888.88, 888.87));
  assertEquals(favor.RHS, c.max(888.87, 888.88));

  assertEquals(favor.LHS, c.max('b', 'a'));
  assertEquals(favor.RHS, c.max('a', 'b'));
  assertEquals(favor.LHS, c.max('bbb', 'bba'));
  assertEquals(favor.RHS, c.max('bba', 'bbb'));
}
Checks the max() method of the given comparator.
@param {!lf.index.SimpleComparator} c