Cosmos/Tests/Cosmos.Compiler.Tests.SimpleWriteLine.Kernel/Kernel.cs
Matthijs ter Woord 9460718e75 - Performance improvement of debugconnector. Debugging and test runner are impacted
- new SendNumber overload introduced for easier debugging of low level stuff.
2015-07-28 19:24:39 -04:00

27 lines
767 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.Debug.Kernel;
using Cosmos.TestRunner;
using Sys = Cosmos.System;
namespace Cosmos.Compiler.Tests.SimpleWriteLine.Kernel
{
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()
{
new Debugger("User", "test").SendNumber(0x01020304);
Console.WriteLine("Started correctly!");
Assert.IsTrue(true, "Dummy assertion, to test the system");
Console.WriteLine("After assertion");
TestController.Completed();
}
}
}