Smooth your .NET TDD experience with NFluent! NFluent is an ergonomic assertion library which aims to fluent your .NET TDD experience (based on simple Check.That() assertion statements). NFluent aims your tests to be fluent to write (with a super-duper-happy 'dot' auto-completion experience), fluent to read (i.e. as close as possible to plain English expression), but also fluent to troubleshoot, in a less-error-prone way comparing to the classical .NET test frameworks. NFluent is also directly inspired by the awesome Java FEST Fluent assertion/reflection library (http://fest.easytesting.org/)
As of now (V 2.7) , IsCloseTo is only available for floating numbers (float and double).
I have received request to add support for decimal. I propose to extend this request to every numerical types.
As of now (V 2.7) , IsCloseTo is only available for floating numbers (
float
anddouble
). I have received request to add support fordecimal
. I propose to extend this request to every numerical types.Expected Behavior
Support this:
Current Behavior
Previous examples to not compile.