Beispiel #1
0
 public static bool operator >=(Index x, Index y) => Cmp.Op(x, y) >= 0;
Beispiel #2
0
 public static bool operator <=(Index x, Index y) => Cmp.Op(x, y) <= 0;
Beispiel #3
0
 void OpGreaterThan()
 {
     Expect(Cmp.Op(2, 1)).Is(1);
 }
Beispiel #4
0
 void OpLessThan()
 {
     Expect(Cmp.Op(1, 2)).Is(-1);
 }
Beispiel #5
0
 void OpEqual()
 {
     Expect(Cmp.Op(1, 1)).Is(0);
 }
Beispiel #6
0
 public static bool operator <=(Id x, Id y) => Cmp.Op(x, y) <= 0;
Beispiel #7
0
 public static bool operator >=(Id x, Id y) => Cmp.Op(x, y) >= 0;