toBeGreaterThan() ,toBeGreaterThanOrEqual() ,toBeLessThan() ,toBeLessThanOrEqual() Matcher
toBeGreaterThan( expectedValue )
toBeGreaterThan(expectedValue)
is a comparison function that evaluates to true or false.
toBeGreaterThanOrEqual(
expectedValue )
toBeGreaterThanOrEqual(expectedValue) is a comparison function that
evaluates to true or false.
toBeLessThan( expectedValue )
toBeLessThan(expectedValue) is a comparison
function that evaluates to true or false.
toBeLessThanOrEqual( expectedValue )
toBeLessThanOrEqual(expectedValue) is a
comparison function that evaluates to true or false.
you can learn more on it from below video
EmoticonEmoticon