Skip to content

Conversation

@Chris-Wolfgang
Copy link

  • Upgrade to .Net 8
  • Upgraded nuget packages
  • Updated some code to work with .Net 8

Adopt nullable reference types and modernize tests

Updated method signatures to use nullable reference types (`string?`, `params string?[]`, etc.) for improved nullability handling and alignment with C# 8.0 standards. Refactored floating-point parsing tests to use explicit `double` types and introduced `GetDoublePointSymbolsData` for better test coverage.

Improved assertions by replacing outdated patterns (e.g., `Assert.True(false)`) with clearer alternatives like `Assert.Fail`. Enhanced null handling in tests by updating parameters and default values to handle nullable scenarios explicitly.

Modernized syntax with updated collection initializers and nullable annotations. Fixed a typo in a method name and ensured consistent use of nullable annotations across the codebase. Added test cases to cover edge cases and improve validation logic.

Performed general code cleanup, including removing redundant comments, consolidating test data, and improving formatting for readability and maintainability.
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