Skip to content

Add support for asserting NaN values #2579

@xp-development

Description

@xp-development

Background and motivation

It would be nice if there is an extension method for double and float values to check NaN values.

double value = double.NaN; value.Should().BeNaN( );

Alternative Concerns

No response

Are you willing help with a pull-request?

No

Metadata

Metadata

Assignees

Labels

api-approvedAPI was approved, it can be implementedfeature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions