mirror of
https://github.com/Smaug123/WoofWare.PawPrint
synced 2025-10-10 08:18:39 +00:00
Remove another spare test
This commit is contained in:
@@ -18,29 +18,6 @@ module TestImpureCases =
|
|||||||
ExpectedReturnCode = 1
|
ExpectedReturnCode = 1
|
||||||
NativeImpls = NativeImpls.PassThru ()
|
NativeImpls = NativeImpls.PassThru ()
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
|
||||||
FileName = "ConsoleColor.cs"
|
|
||||||
ExpectedReturnCode = 1
|
|
||||||
NativeImpls =
|
|
||||||
let mock = MockEnv.make ()
|
|
||||||
|
|
||||||
{ mock with
|
|
||||||
System_Environment =
|
|
||||||
{ System_EnvironmentMock.Empty with
|
|
||||||
GetProcessorCount =
|
|
||||||
fun thread state ->
|
|
||||||
let state =
|
|
||||||
state |> IlMachineState.pushToEvalStack' (EvalStackValue.Int32 1) thread
|
|
||||||
|
|
||||||
(state, WhatWeDid.Executed) |> ExecutionResult.Stepped
|
|
||||||
_Exit =
|
|
||||||
fun thread state ->
|
|
||||||
let state = state |> IlMachineState.loadArgument thread 0
|
|
||||||
ExecutionResult.Terminated (state, thread)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
|
|
||||||
let cases : TestCase list =
|
let cases : TestCase list =
|
||||||
|
@@ -45,7 +45,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="sourcesImpure\WriteLine.cs" />
|
<EmbeddedResource Include="sourcesImpure\WriteLine.cs" />
|
||||||
<EmbeddedResource Include="sourcesImpure\ConsoleColor.cs" />
|
|
||||||
<EmbeddedResource Include="sourcesImpure\InstaQuit.cs" />
|
<EmbeddedResource Include="sourcesImpure\InstaQuit.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
@@ -1,13 +0,0 @@
|
|||||||
using System;
|
|
||||||
|
|
||||||
namespace HelloWorldApp
|
|
||||||
{
|
|
||||||
class Program
|
|
||||||
{
|
|
||||||
static int Main(string[] args)
|
|
||||||
{
|
|
||||||
Console.WriteLine("Hello, world!");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -6,8 +6,7 @@ namespace HelloWorldApp
|
|||||||
{
|
{
|
||||||
static int Main(string[] args)
|
static int Main(string[] args)
|
||||||
{
|
{
|
||||||
var c = Console.BackgroundColor;
|
Console.WriteLine("Hello, world!");
|
||||||
var d = Console.ForegroundColor;
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user