Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

Closed Issue: Numerics do not have Be() [11662]

$
0
0
double result;
result.Should().Be(0);

There is no Be() method for doubles. Same is true for floats.
Comments:

This is by design. You can read about that in a blog post I wrote in February last year. http://www.dennisdoomen.net/2011/02/another-release-for-fluent-assertions.html


Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>