anchor.diff:    Expect.isTrue(max(0.0, -499) is double);
     Expect.isTrue(max(0.0, -499.0) is double);
     Expect.isTrue(max(0.0, -inf) is double);
  -
  +}
  +
  +testMax2() {
     Expect.isFalse(max(0.0, 0.0).isNegative);
     Expect.isFalse(max(0.0, 0).isNegative);
     Expect.isFalse(max(0.0, -0.0).isNegative);
  
positive.code:   Expect.equals(-10.5, min(0.5, -10.5));
    // Test matrix:
    // NaN, -infinity, -499.0, -499, -0.0, 0.0, 0, 499.0, 499, +infinity.
    var inf = double.INFINITY;
    var nan = double.NAN;
  
    Expect.isTrue(min(nan, nan).isNaN);
    Expect.isTrue(min(nan, -inf).isNaN);
  
negative.code:   Expect.isTrue(max(-0.0, -inf) is double);
  }
  
  testMax3() {
    Expect.isFalse(max(-0.0, 0.0).isNegative);
    Expect.isFalse(max(-0.0, 0).isNegative);
    Expect.isTrue(max(-0.0, -0.0).isNegative);
  