2 using System
.Collections
.Generic
;
10 public class JitTests
{
11 static string[] args
= new string[] { "--verbose", "--exclude", "!WASM", "--exclude", "!INTERPRETER"}
;
14 public static void Basic () {
15 int res
= TestDriver
.RunTests (typeof (BasicTests
), args
);
16 Assert
.AreEqual (0, res
);
20 public static void Arrays () {
21 int res
= TestDriver
.RunTests (typeof (ArrayTests
), args
);
22 Assert
.AreEqual (0, res
);
26 public static void Calls () {
27 int res
= TestDriver
.RunTests (typeof (CallsTests
), args
);
28 Assert
.AreEqual (0, res
);
31 public static void Float () {
32 int res
= TestDriver
.RunTests (typeof (FloatTests
), args
);
33 Assert
.AreEqual (0, res
);
36 public static void Long () {
37 int res
= TestDriver
.RunTests (typeof (LongTests
), args
);
38 Assert
.AreEqual (0, res
);
42 public static void Math () {
43 int res
= TestDriver
.RunTests (typeof (MathTests
), args
);
44 Assert
.AreEqual (0, res
);
48 public static void Objects () {
49 int res
= TestDriver
.RunTests (typeof (ObjectTests
.Tests
), args
);
50 Assert
.AreEqual (0, res
);
54 public static void Generics () {
55 int res
= TestDriver
.RunTests (typeof (GenericsTests
), args
);
56 Assert
.AreEqual (0, res
);
60 public static void GShared () {
61 int res
= TestDriver
.RunTests (typeof (GSharedTests
), args
);
62 Assert
.AreEqual (0, res
);
66 public static void Exceptions () {
67 int res
= TestDriver
.RunTests (typeof (ExceptionTests
), args
);
68 Assert
.AreEqual (0, res
);
72 public static void Aot () {
73 int res
= TestDriver
.RunTests (typeof (AotTests
), args
);
74 Assert
.AreEqual (0, res
);
78 public static void BuiltinTests () {
79 int res
= TestDriver
.RunTests (typeof (BuiltinTests
), args
);
80 Assert
.AreEqual (0, res
);
84 public static void DevirtualizationTests () {
85 int res
= TestDriver
.RunTests (typeof (DevirtualizationTests
), args
);
86 Assert
.AreEqual (0, res
);
90 public static void MixedTests () {
91 int res
= TestDriver
.RunTests (typeof (MixedTests
), args
);
92 Assert
.AreEqual (0, res
);
96 public static void GcTests () {
97 int res
= TestDriver
.RunTests (typeof (GcTests
), args
);
98 Assert
.AreEqual (0, res
);