Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

40_RangeAssertions

Thorsten Lorenz edited this page · 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.