You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C#] Test-suite parity with mem-rs: every implementation, property tests, coverage, persistence example #111
csharpC# implementation (csharp/)enhancementNew feature or requestmem-rs-parityCatch up with linksplatform/mem-rs (see #94)testsTests, coverage and benchmarks
The C# library has one test (HeapResizableDirectMemoryTests), and the C++ library has one, which uses the broken copy constructor. mem-rs has unit tests per backend, doctested README examples, quickcheck property tests, miri runs, coverage reporting, multi-OS CI and a doublets persistence example.
Proposed solution
xUnit tests for every class (ArrayMemory, FileArrayMemory, adapters, heap, file-mapped, temporary). Cover open, grow, shrink, reopen, dispose, error paths and every probe P1–P7 from the Plan to catch up with github.com/linksplatform/mem-rs #94 case study.
Property-based tests with FsCheck or CsCheck: random sequences of grow/shrink/write/reopen compared against a List<T> model, like mem-rs quickcheck.
Coverage with coverlet.collector (already referenced) and a report upload.
A persistence example under examples/: write, reopen, verify.
Update the test stack: Microsoft.NET.Test.Sdk 17.1.0 → current, xunit 2.4.1 → xunit v3 (or 2.9.x), coverlet 3.1.2 → current.
csharpC# implementation (csharp/)enhancementNew feature or requestmem-rs-parityCatch up with linksplatform/mem-rs (see #94)testsTests, coverage and benchmarks
Activity