Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CSharp/Tests/README.md
Original file line number Diff line number Diff line change
@@ -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


2 changes: 1 addition & 1 deletion CSharp/Tests/Tests2/TestsZ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\USINGZ\Clipper2LibZ.csproj" />
<ProjectReference Include="..\..\USINGZ\Clipper2Lib_Z.csproj" />
<ProjectReference Include="..\..\Utils\ClipFileIO\Clipper.FileIO.csproj" />
</ItemGroup>

Expand Down
Loading