aboutsummaryrefslogtreecommitdiff
path: root/DotnetPgn.Test/DotnetPgn.Test.csproj
diff options
context:
space:
mode:
authorGravatar Daniel Smith <rdnlsmith@gmail.com> 2020-11-28 21:24:40 -0500
committerGravatar Daniel Smith <rdnlsmith@gmail.com> 2020-11-28 21:24:40 -0500
commitdf8253dbf6cb09093018333f99dd9c19ba0ff02b (patch)
tree455776153a088e3bf164bc390813043a7cbe8520 /DotnetPgn.Test/DotnetPgn.Test.csproj
Initial commit
`Tokenizer` can _just barely_ parse a basic, well-formed move list. Initially, I wanted to provide the movetext as a `Stream` rather than a string, the idea being that it could be processed as it was being read from a file without having to read the entire file into memory first. I had difficulties with the stream being unreadable in `Tokenizer.ParseMoves()`, so I switched to a string in order to get the actual parsing logic down first. Because of the `yield return` strategy, the debug console output includes all of the expected halfmoves multiple times in various orders. After running a test, generally the full, in-order list seems to exist at the bottom of the output.
Diffstat (limited to 'DotnetPgn.Test/DotnetPgn.Test.csproj')
-rw-r--r--DotnetPgn.Test/DotnetPgn.Test.csproj26
1 files changed, 26 insertions, 0 deletions
diff --git a/DotnetPgn.Test/DotnetPgn.Test.csproj b/DotnetPgn.Test/DotnetPgn.Test.csproj
new file mode 100644
index 0000000..0e90980
--- /dev/null
+++ b/DotnetPgn.Test/DotnetPgn.Test.csproj
@@ -0,0 +1,26 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <TargetFramework>net5.0</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="..\DotnetPgn\DotnetPgn.csproj" />
+ </ItemGroup>
+
+</Project>