mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
31 lines
893 B
C#
31 lines
893 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Cosmos.TestRunner;
|
|
using Sys = Cosmos.System;
|
|
|
|
namespace Cosmos.Compiler.Tests.Bcl
|
|
{
|
|
using Cosmos.Compiler.Tests.Bcl.System;
|
|
|
|
public class Kernel : Sys.Kernel
|
|
{
|
|
protected override void BeforeRun()
|
|
{
|
|
Console.WriteLine("Cosmos booted successfully. Type a line of text to get it echoed back.");
|
|
}
|
|
|
|
protected override void Run()
|
|
{
|
|
char x = 'a';
|
|
string y = "a";
|
|
Assert.IsTrue(x.ToString() == y, "x.ToString() == y");
|
|
System.StringTest.Execute();
|
|
System.Collections.Generic.ListTest.Execute();
|
|
System.Collections.Generic.QueueTest.Execute();
|
|
System.DelegatesTest.Execute();
|
|
//System.UInt64Test.Execute();
|
|
TestController.Completed();
|
|
}
|
|
}
|
|
}
|