Skip to content


Thorsten Lorenz edited this page Nov 28, 2010 · 2 revisions

FSharpSpec Range Assertions

should.beGreaterThan, should.beSmallerThan

These two methods compare two numbers and/or anything that implements IComparable.

They do not have a shouldn't counterpart.

Examples it "1 is greater than 0" 1 should.beGreaterThan 0 it "1 is smaller than 2" 1 should.beSmallerThan 2

Something went wrong with that request. Please try again.