tests will be run from ../yavsc-client
This commit is contained in:
parent
5e651268bd
commit
7f0129ecf4
4 changed files with 0 additions and 61 deletions
|
|
@ -1,33 +0,0 @@
|
||||||
using System;
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
namespace test1
|
|
||||||
{
|
|
||||||
public class UnitTest1
|
|
||||||
{
|
|
||||||
[Fact]
|
|
||||||
public void 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
"sdk": {
|
|
||||||
"version": "2.0.4",
|
|
||||||
"runtime": "mono",
|
|
||||||
"architecture": "x64"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
<?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>
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>netcoreapp1.1</TargetFramework>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
|
|
||||||
<PackageReference Include="xunit" Version="2.3.1" />
|
|
||||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
|
|
||||||
<PackageReference Include="xunit.runner.console" Version="2.3.1" />
|
|
||||||
<!-- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="14.0.0"/> -->
|
|
||||||
<Content Include="UnitTest1.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue