add ISafeSerializationData
[mcs.git] / tests / test-217.cs
blobb685e067146cf8bd3ab4cc22ed251019d310a858
1 using System;
2 public class Test {
3 static int Main () {
4 object val1 = compare_gte(0, 0);
5 object val2 = compare_gte(1, 0);
6 object val3 = compare_gte(0, 1);
7 object val4 = compare_lte(0, 0);
8 object val5 = compare_lte(1, 0);
9 object val6 = compare_lte(0, 1);
10 bool b;
12 b = (true == (bool) val1);
13 if (b == false)
15 return 1;
18 b = (true == (bool) val2);
19 if (b == false)
21 return 2;
24 b = (true == (bool) val3);
25 if (b == true)
27 return 3;
30 b = (true == (bool) val4);
31 if (b == false)
33 return 4;
36 b = (true == (bool) val5);
37 if (b == true)
39 return 5;
42 b = (true == (bool) val6);
43 if (b == false)
45 return 6;
48 return 0;
51 static object compare_gte(int a, int b)
53 return a >= b;
55 static object compare_lte(int a, int b)
57 return a <= b;