Add project files.

This commit is contained in:
Tony Bark 2020-12-08 17:56:38 -05:00
parent 52916f53b9
commit 2d6a9bb1d2
11 changed files with 863 additions and 0 deletions

View file

@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="1.3.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CSTNet\CSTNet.csproj" />
</ItemGroup>
</Project>

17
CSTNet.Tests/UnitTest1.cs Normal file
View file

@ -0,0 +1,17 @@
// This project is licensed under the MIT license.
using Xunit;
namespace CSTNet.Tests
{
//
public class UnitTest1
{
[Fact]
public void Test1()
{
/*var file = File.ReadAllText("example.cst");
var example = CaretSeparatedText.Parse(file, 1);
Console.WriteLine(example);*/
}
}
}