Skip to content
This repository has been archived by the owner on Sep 19, 2018. It is now read-only.

Commit

Permalink
Add the new assert_between_exclusive and assert_between_inclusive fun…
Browse files Browse the repository at this point in the history
…ctions to the API documentation
  • Loading branch information
jwatt committed Feb 24, 2015
1 parent 1700958 commit bc28643
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/api.md
Expand Up @@ -471,12 +471,20 @@ asserts that `actual` is a number less than `expected`
### `assert_greater_than(actual, expected, description)`
asserts that `actual` is a number greater than `expected`

### `assert_between_exclusive(actual, lower, upper, description`
asserts that `actual` is a number between `lower` and `upper` but not
equal to either of them

### `assert_less_than_equal(actual, expected, description)`
asserts that `actual` is a number less than or equal to `expected`

### `assert_greater_than_equal(actual, expected, description)`
asserts that `actual` is a number greater than or equal to `expected`

### `assert_between_inclusive(actual, lower, upper, description`
asserts that `actual` is a number between `lower` and `upper` or
equal to either of them

### `assert_regexp_match(actual, expected, description)`
asserts that `actual` matches the regexp `expected`

Expand Down

0 comments on commit bc28643

Please sign in to comment.