Skip to content

Commit

Permalink
fix Tyche test
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLloyd committed Nov 9, 2024
1 parent 5811adc commit ff515b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 4 additions & 9 deletions CsCheck/CsCheck.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,11 @@ CsCheck also makes parallel, performance and regression testing simple and fast.
<PackageProjectUrl>http://github.com/AnthonyLloyd/CsCheck</PackageProjectUrl>
<PackageIcon>CsCheck.png</PackageIcon>
<PackageTags>quickcheck;random;model-based;metamorphic;parallel;performance;causal-profiling;regression;testing</PackageTags>
<Version>4.0.0</Version>
<Version>4.1.0</Version>
<PackageReleaseNotes>
Added SampleParallel overloads using a sequentially run model for linearization.
Added running operations sequentially before parallel to SampleParallel.
Added maxSequentialOperations and maxParallelOperations parameters to SampleParallel.

BREAKING CHANGES:
- Now targets net8.0, version 3.2.2 was the last to target net6.0.
- SampleConcurrent renamed to SampleParallel.
- GenOperation&lt;Actual,Model&gt; takes separate actions for actual and model.
Added ILogger logging parameter with Tyche logging implementation.
Added Debug check to Faster.
Improved PCG performance.
</PackageReleaseNotes>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>preview</LangVersion>
Expand Down
2 changes: 2 additions & 0 deletions Tests/LoggingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public void Bool_Distribution_WithTycheLogs(int generatedIntUponTrue)
{
}

logger.Dispose();

//Actual logic we want to test.
memoryStream.Position = 0;
string json;
Expand Down

0 comments on commit ff515b8

Please sign in to comment.