Source code checked in, #75220
Fixed the BePostive() and BeNegative() for doubles and floats
View ArticleClosed 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 ArticleSource code checked in, #75221
Fixed the BePostive() and BeNegative() for doubles and floats
View ArticleCommented 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 ArticleReopened 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 ArticleCommented 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 ArticleCommented 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 ArticleCommented 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 ArticleNew 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 ArticleNew Post: Asserts as extension methods
Fixed it. I still had to install the newest WP7 SDK on my Windows 8 developer machine.
View ArticleNew 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 ArticleNew 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 ArticleCommented 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 ArticleCreated 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 ArticleCommented 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 ArticleNew 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