From c9bc8d6e4f499e8d19a15db3dab844360dead8d6 Mon Sep 17 00:00:00 2001 From: Goswin Rothenthal Date: Fri, 20 Mar 2026 11:28:00 +0100 Subject: [PATCH] fix project path for C# tests, add readme on tests --- CSharp/Tests/README.md | 21 +++++++++++++++++++++ CSharp/Tests/Tests2/TestsZ.csproj | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 CSharp/Tests/README.md diff --git a/CSharp/Tests/README.md b/CSharp/Tests/README.md new file mode 100644 index 000000000..b27173631 --- /dev/null +++ b/CSharp/Tests/README.md @@ -0,0 +1,21 @@ +# Running C# Tests + +Requires [.NET SDK](https://dotnet.microsoft.com/download) (6.0+). + +## Run all tests + +```bash +dotnet test CSharp/Tests/Tests1/Tests1.csproj +dotnet test CSharp/Tests/Tests2/TestsZ.csproj +``` + +## Run a specific test project + +| Project | What it covers | +|---------|----------------| +| `Tests1` | Core clipping, offsets, polytree, open paths | +| `Tests2` (TestsZ) | Z-callback / USINGZ functionality | + +## Useful flags + + diff --git a/CSharp/Tests/Tests2/TestsZ.csproj b/CSharp/Tests/Tests2/TestsZ.csproj index 9256a12e2..2cc59bed4 100644 --- a/CSharp/Tests/Tests2/TestsZ.csproj +++ b/CSharp/Tests/Tests2/TestsZ.csproj @@ -24,7 +24,7 @@ - +