10 static int test_0_vector4i_cmp_gt () {
11 Vector4i a
= new Vector4i (10, 5, 12, -1);
12 Vector4i b
= new Vector4i (-1, 5, 10, 10);
14 Vector4i c
= a
.CompareGreaterThan (b
);
27 static myvt
CompareGT(myvt a
, myvt b
) {
29 r
.X
= a
.X
> b
.X
? -1 : 0;
30 r
.Y
= a
.Y
> b
.Y
? -1 : 0;
34 static int test_0_struct2i_cmp_gt() {
41 myvt c
= CompareGT(a
, b
);
49 static int vararg_sum(params int[] args
) {
51 foreach(int arg
in args
) {
56 static int test_21_vararg_test() {
60 sum
+= vararg_sum(2, 3);
61 sum
+= vararg_sum(4, 5, 6);
64 public static int Main(String
[] args
) {
65 return TestDriver
.RunTests(typeof(Tests
));