Skip to content

Make Numerics class internal #3932

Closed
Closed
@stevenaw

Description

@stevenaw

Most of NUnit's numeric-related work (comparisons, differences, equality) is exposed via constraints or the classic assertion model, but the work itself is done by a helper class: Numerics.

This helper class has public visibility, which means API changes to it require extra caution to ensure we don't break anyone. It might be helpful to look at if we can make this an internal class. This would be a breaking change, but I suspect it shouldn't be very disruptive. I haven't seen any usages of it in public repos based on a glance on https://grep.app

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions