Quantcast
Channel: Fluent Assertions
Browsing all 1402 articles
Browse latest View live
↧

Source code checked in, #75220

Fixed the BePostive() and BeNegative() for doubles and floats

View Article


Closed Issue: BePositive() does not work for float and double [11946]

This throws a exceptinon: double f = 3.8f; f.Should().BePositive();I looked at the code and the Subject.CompareTo(0) > 0 does not work with float and double. And the comment is wrong. As it is...

View Article


Source code checked in, #75221

Fixed the BePostive() and BeNegative() for doubles and floats

View Article

Commented Issue: BePositive() does not work for float and double [11946]

This throws a exceptinon: double f = 3.8f; f.Should().BePositive();I looked at the code and the Subject.CompareTo(0) > 0 does not work with float and double. And the comment is wrong. As it is...

View Article

Reopened Issue: BePositive() does not work for float and double [11946]

This throws a exceptinon: double f = 3.8f; f.Should().BePositive();I looked at the code and the Subject.CompareTo(0) > 0 does not work with float and double. And the comment is wrong. As it is...

View Article


Source code checked in, #75224

Merged another fix from the 1.7.0 branch

View Article

Commented Issue: BePositive() does not work for float and double [11946]

This throws a exceptinon: double f = 3.8f; f.Should().BePositive();I looked at the code and the Subject.CompareTo(0) > 0 does not work with float and double. And the comment is wrong. As it is...

View Article

Commented Issue: BePositive() does not work for float and double [11946]

This throws a exceptinon: double f = 3.8f; f.Should().BePositive();I looked at the code and the Subject.CompareTo(0) > 0 does not work with float and double. And the comment is wrong. As it is...

View Article


Commented Issue: AllProperties().IncludingNestedObjects() throws exception on...

The following code causes an exception in 1.7.1.1:var obj1 = new { Bytes = new byte[] { 1, 2, 3, 4 }, Obj = new { A = 1, B = 2 } };var obj2 = new { Bytes = new byte[] { 1, 2, 3, 4 }, Obj = new { A = 1,...

View Article


New Post: Asserts as extension methods

I wanted to review your last changes related to floating point numbers assertions but actual version is not compilable :(

View Article

New Post: Asserts as extension methods

What is the error?  

View Article

Source code checked in, #75295

Fixed a compile error in the Windows Phone version

View Article

New Post: Asserts as extension methods

Fixed it. I still had to install the newest WP7 SDK on my Windows 8 developer machine.

View Article


New Post: Asserts as extension methods

Error is still there. There is NumericAssertionsExtensions file in the root of .Net 3.5 project, but there is no such a file in svn

View Article

New Post: Asserts as extension methods

I think you're doing something wrong. I've just deleted all my local files and did a Get Latest Version, just to make sure all is there. And the solution compiled fine.

View Article


Commented Issue: AllProperties().IncludingNestedObjects() throws exception on...

The following code causes an exception in 1.7.1.1:var obj1 = new { Bytes = new byte[] { 1, 2, 3, 4 }, Obj = new { A = 1, B = 2 } };var obj2 = new { Bytes = new byte[] { 1, 2, 3, 4 }, Obj = new { A = 1,...

View Article

Updated Release: Release 2.0.0

TBD

View Article


Created Issue: Collection.Should().Equal() bug or feature? [11960]

Version 1.7.1var collection = new[] { "1" };collection.Should().Equal("1");Raises an exception:Expected collection to be equal to "1", but {"1"} differs at index 0.Thanks.

View Article

Commented Issue: Collection.Should().Equal() bug or feature? [11960]

Version 1.7.1var collection = new[] { "1" };collection.Should().Equal("1");Raises an exception:Expected collection to be equal to "1", but {"1"} differs at index 0.Thanks.Comments: ** Comment from web...

View Article

New Post: Conditional Assertion with When/Unless

It will be nice to have something like When()/Unless() clause to specify the assertion should be run under some condition, which will get rid of all these annoying if-statments. And I am also wondering...

View Article
Browsing all 1402 articles
Browse latest View live


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