Skip to content

Upgrade to .NET 10 and C#14, add unit tests, fix small things - #4

Merged
rbergen merged 14 commits into
mainfrom
add-tests
Mar 8, 2026
Merged

rbergen merged 14 commits into
mainfrom
add-tests

Conversation

@rbergen

@rbergen rbergen commented Mar 8, 2026

Copy link
Copy Markdown
Owner

This PR:

  • Upgrades all project to .NET 10.0
  • Implements a number of C# 14 based improvements
  • Adds a set of unit tests for a number of foundational classes
  • Fixes some minor bugs
  • Fixes a number of formatting issues in the source code
  • Bumps the version to 0.5.2.0

rbergen added 14 commits March 8, 2026 08:52
…net10.0, fixed 109 WFO1000 warnings, build successful with zero errors
Create MixLib.Tests with 243 tests and MixAssembler.Tests with 22 tests

Use xUnit 2.9.2 and FluentAssertions 7.0.0 targeting .NET 10
Add comprehensive Word base class tests (30 tests)

Add register type tests: IndexRegister, AddressRegister, FullWordRegister (30 tests)

Total tests: 325, all passing
Add Memory class tests (18 tests): indexing, bounds, sparse storage

Add Registers collection tests (27 tests): register types, indexed addressing

Add InstructionHelpers constant tests (1 test)

Total: 371 tests, all passing in <50ms
…cumentation

Update MixEmul.sln with test project configurations for x64/x86 platforms

Remove phase-specific expansion documentation

Add comprehensive TEST_SUMMARY.md covering all 371 tests

Final test count: 371 tests (325 MixLib + 46 MixAssembler), all passing
Update dotnet-version from 8.0.x to 10.0.x

Add test step to run all 371 tests after build

Tests run with --no-build flag for efficiency
@rbergen
rbergen merged commit d3ecbf8 into main Mar 8, 2026
4 checks passed
@rbergen
rbergen deleted the add-tests branch April 14, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant