Skip to content

Conversation

@matt-edmondson
Copy link
Contributor

No description provided.

Sync main to precise-number branch
- Removed outdated tests from AITests.cs and cleaned up Tests.cs.
- Added comprehensive tests for SignificantNumber in SignificantNumberTests.cs.
- Updated SignificantNumber class with new methods for creation, incrementing, and decrementing.
- Updated SignificantNumberExtensions for better conversion handling.
- Updated project to reference a newer version of ktsu.PreciseNumber.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • SignificantNumber/SignificantNumber.csproj: Language not supported
Comments suppressed due to low confidence (3)

SignificantNumber/SignificantNumberExtensions.cs:59

  • Consider adding unit tests to verify the behavior of the ReduceSignificance operation and the overall conversion, especially for edge case inputs.
var preciseNumber = input.ToPreciseNumber().ReduceSignificance(significantDigits);

SignificantNumber.Test/InvalidNumber.cs:1

  • The removal of InvalidNumber tests may reduce coverage for exception handling scenarios; please ensure that these cases are adequately tested elsewhere.
namespace ktsu.SignificantNumber.Test;

SignificantNumber.Test/Helpers.cs:1

  • Removal of the Helpers file might impact test maintainability; confirm that the necessary test utilities are available in your remaining test suite.
// Ignore Spelling: RNG

@matt-edmondson matt-edmondson merged commit 876d019 into main Apr 13, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this to Done in ktsu.dev Apr 13, 2025
@matt-edmondson matt-edmondson deleted the precise-number branch November 15, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants