Skip to content

Numerics.IsFixedPointNumeric should return false for decimals #3935

Description

@stevenaw

The object + type overloads of Numerics.IsFloatingPointNumeric were updated in #3831 to return true when given a decimal. For consistency, we should ensure the IsFixedPointNumeric function returns false when given a decimal. This should just be a matter of removing this line: https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/Numerics.cs#L71

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions