Exemplo n.º 1
0
        public static void Main()
        {
#if MIPS
            FlingOops.MIPS.CI20.Kernel.Start();
#elif x86
            FlingOops.x86.Kernel.Start();
#endif

            BasicConsole.Init();
            BasicConsole.WriteLine("Kernel executing...");

            CompilerTests.RunTests();

#if MIPS
            FlingOops.MIPS.CI20.Kernel.End();
#elif x86
            FlingOops.x86.Kernel.End();
#endif
        }
Exemplo n.º 2
0
 public void aligned4_bool(uint a)
 {
     Assert.Equal(CompilerTests.aligned4_bool(a), Run <bool>("Mosa.UnitTest.Collection.CompilerTests.aligned4_bool", a));
 }
Exemplo n.º 3
0
 public void aligned4_unsigned(uint a)
 {
     Assert.Equal(CompilerTests.aligned4_unsigned(a), Run <uint>("Mosa.UnitTest.Collection.CompilerTests.aligned4_unsigned", a));
 }
Exemplo n.º 4
0
 public void even_bit(int a)
 {
     Assert.Equal(CompilerTests.even_bit(a), Run <int>("Mosa.UnitTest.Collection.CompilerTests.even_bit", a));
 }