| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using NUnit.Framework;
- [TestFixture]
- public class JitTests {
- static string[] args = new string[] { "--exclude", "!FULLAOT", "--verbose" };
- [Test]
- public static void Basic () {
- int res = TestDriver.RunTests (typeof (BasicTests), args);
- Assert.AreEqual (0, res);
- }
- [Test]
- public static void Arrays () {
- int res = TestDriver.RunTests (typeof (ArrayTests), args);
- Assert.AreEqual (0, res);
- }
- [Test]
- public static void Calls () {
- int res = TestDriver.RunTests (typeof (CallsTests), args);
- Assert.AreEqual (0, res);
- }
- [Test]
- public static void Float () {
- int res = TestDriver.RunTests (typeof (FloatTests), args);
- Assert.AreEqual (0, res);
- }
- [Test]
- public static void Long () {
- int res = TestDriver.RunTests (typeof (LongTests), args);
- Assert.AreEqual (0, res);
- }
- [Test]
- public static void Math () {
- int res = TestDriver.RunTests (typeof (MathTests), args);
- Assert.AreEqual (0, res);
- }
- [Test]
- public static void Objects () {
- int res = TestDriver.RunTests (typeof (ObjectTests.Tests), args);
- Assert.AreEqual (0, res);
- }
- [Test]
- public static void Generics () {
- int res = TestDriver.RunTests (typeof (GenericsTests), args);
- Assert.AreEqual (0, res);
- }
- [Test]
- public static void GShared () {
- int res = TestDriver.RunTests (typeof (GSharedTests), args);
- Assert.AreEqual (0, res);
- }
- [Test]
- public static void Exceptions () {
- int res = TestDriver.RunTests (typeof (ExceptionTests), args);
- Assert.AreEqual (0, res);
- }
- [Test]
- public static void Aot () {
- int res = TestDriver.RunTests (typeof (AotTests), args);
- Assert.AreEqual (0, res);
- }
- }
|