From bc2864313bc7019b6ed4159b36f1b4c04cef560f Mon Sep 17 00:00:00 2001 From: Jonathan Watt Date: Tue, 24 Feb 2015 15:31:37 +0000 Subject: [PATCH] Add the new assert_between_exclusive and assert_between_inclusive functions to the API documentation --- docs/api.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/api.md b/docs/api.md index 788b2e0..4598a9b 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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`