refactoring messages

This commit is contained in:
2018-02-03 20:17:29 +01:00
parent edd91faa96
commit 6c18f32f61
44 changed files with 603 additions and 304 deletions

View File

@ -10,5 +10,24 @@ namespace test1
{
}
[Fact]
public void PassingTest()
{
Assert.Equal(4, Add(2, 2));
}
[Fact]
public void FailingTest()
{
Assert.Equal(5, Add(2, 2));
}
int Add(int x, int y)
{
return x + y;
}
}
}

View File

@ -1,7 +1,7 @@
{
"sdk": {
"version": "2.0.4",
"runtime": "mono",
"architecture": "x64"
}
}
"sdk": {
"version": "2.0.4",
"runtime": "mono",
"architecture": "x64"
}
}

7
test/packages.config Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.NET.Test.Sdk" version="15.5.0" targetFramework="net45" />
<package id="xunit" version="2.3.1" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="2.3.1" targetFramework="net45" />
<package id="xunit.runner.console" version="2.3.1" targetFramework="net45" />
</packages>