Expand description
§Assertables: Rust crate of assert macros for testing
Assertables is a Rust crate that provides many assert macros to improve your compile-time tests and run-time reliability.
- Crate: https://crates.io/crates/assertables
- Docs: https://docs.rs/assertables/
- Repo: https://github.com/sixarm/assertables-rust-crate/
- Contact: joel@joelparkerhenderson.com
§Introduction
The Assertables Rust crate provides many assert macros that can help you develop, test, and debug.
- Test values with assert_lt, assert_gt, assert_in, …
- Test groups with assert_all, assert_any, assert_iter, …
- Test wrappers with assert_ok, assert_some, assert_ready, …
- Test matching with assert_matches, assert_is_match, …
- Test nearness with assert_approx, assert_abs_diff, …
- Test programs with assert_command, assert_status, …
- Many more below.
To use this crate, add it to your file Cargo.toml
:
assertables = "9.5.0"
Benefits:
- You will write better tests to improve reliability and maintainability.
- You will handle more corner cases without needing to write custom code.
- You will troubleshoot faster because error messages show more detail.
Learning: FAQ, docs, examples, changes, upgrades, developing.
Comparisons: more_asserts, cool_asserts, assert2, claims, etc.
§Examples
Examples with numbers:
let i = 1;
assert_lt!(i, 5);
assert_in_range!(i, 1..5);
assert_abs_diff_eq!(i, 5, 4);
Examples with strings:
let s = "hello";
assert_starts_with!(s, "h");
assert_contains!(s, "e");
assert_is_match!(Regex::new(r"h.*o").unwrap(), s);
Examples with arrays:
let a = [1, 2, 3];
assert_not_empty!(a);
assert_len_eq_x!(a, 3);
assert_all!(a.into_iter(), |i: i32| i < 4);
§Highlights
Values:
assert_eq!(a, b)
≈ a = b ≈ equal toassert_ne!(a, b)
≈ a ≠ b ≈ not equal toassert_lt!(a, b)
≈ a < b ≈ less thanassert_le!(a, b)
≈ a ≤ b ≈ less than or equal toassert_gt!(a, b)
≈ a > b ≈ greater thanassert_ge!(a, b)
≈ a ≥ b ≈ greater than or equal to
Nearness:
assert_approx_eq!(a, b)
≈ |a-b| ≤ 1e-6assert_diff_eq_x!(a, b, x)
≈ (b-a) = xassert_abs_diff_eq_x!(a, b, x)
≈ |b-a| = xassert_in_delta!(a, b, delta)
≈ |a-b| ≤ Δassert_in_epsilon!(a, b, epsilon)
≈ |a-b| ≤ ε min(a,b)assert_in_range!(a, range)
≈ range.contains(a)
Groups:
assert_all!(group, predicate)
≈ group.all(predicate)assert_any!(group, predicate)
≈ group.any(predicate)assert_is_empty!(group)
≈ a.is_empty()assert_len_eq!(a, b)
≈ a.len() = b.len()assert_count_eq!(a, b)
≈ a.count() = b.count()
Matching:
assert_starts_with!(sequence, x)
≈ sequence.starts_with(x)assert_ends_with!(sequence, x)
≈ sequence.ends_with(x)assert_contains!(container, x)
≈ container.contains(x)assert_is_match!(matcher, x)
≈ matcher.is_match(x)assert_matches!(expr, pattern)
≈ matches!(expr, pattern)
Results:
assert_ok!(a)
≈ a is Okassert_err!(a)
≈ a is Errassert_ok_eq_x!(a, x)
≈ a is Ok ⇒ unwrap = x
Options:
assert_some!(a)
≈ a is Someassert_none!(a)
≈ a is Noneassert_some_eq_x!(a, x)
≈ a is Some ⇒ unwrap = x
Polls:
assert_ready!(a)
≈ a is Readyassert_pending!(a)
≈ a is Pendingassert_ready_eq_x!(a, x)
≈ a is Ready ⇒ unwrap = x
Collections:
assert_iter_eq!(a, b)
≈ a into iter = b into iterassert_set_eq!(a, b)
≈ a into set = b into setassert_bag_eq!(a, b)
≈ a into bag = = b into bag
Readers:
assert_fs_read_to_string_eq_x!(path, x)
≈ path ⇒ file ⇒ string = xassert_io_read_to_string_eq_x!(reader, x)
≈ reader ⇒ bytes ⇒ string = x
Commands:
assert_command_stdout_eq_x!(command, x)
// command ⇒ stdout == x
assert_program_args_stdout_eq_x!(program, args, x)
// program.args ⇒ stdout == x
Status:
assert_status_success!(a)
≈ a.status().success()assert_status_code_value_eq_x!(a, x)
≈ a.status().code().unwrap() = x
Infix:
assert_infix!(a == b)
≈ order operators == != < <= > >=assert_infix!(a && b)
≈ logic operators && || ^ & |
For a complete list of modules and macros, see the docs.
§Forms
The Assertables macros have a variety of forms to help you write the tests that matter most to you.
All the macros have forms for an optional message:
assert_gt!(a, b)
≈ default messageassert_gt!(a, b, "your text")
≈ custom message
All the macros have forms for different outcomes:
assert_gt!(1, 2)
≈ panicassert_gt_as_result!(1, 2)
≈ Result Errdebug_assert_gt!(1, 2)
≈ panic in debug mode
Many of the macros have a form “compare left item to right item” that compares items of the same kind, and a form “compare left item to right expression” that compares one item to any arbitrary expression:
assert_len_eq!(a, b)
≈ a.len() = b.len()assert_len_eq_x!(a, x)
) ≈ a.len() = x
Many of the macros has a “success return”, which means the macro returns data that you can optionally use for more testing.
let inner = assert_ok!(result)
let string = assert_fs_read_to_string_ne!("alfa.txt", "")
let stdout = assert_command_stdout_gt!("ls", vec![b' '])
§Tracking
- Package: assertables-rust-crate
- Version: 9.5.1
- Created: 2021-03-30T15:47:49Z
- Updated: 2025-03-08T16:14:34Z
- License: MIT or Apache-2.0 or GPL-2.0 or GPL-3.0 or contact us for more
- Contact: Joel Parker Henderson (joel@joelparkerhenderson.com)
Modules§
- assert
- Assert a condition is true.
- assert_
abs_ diff - Assert for comparing absolute differences.
- assert_
all - Assert every element of the iterator matches a predicate.
- assert_
any - Assert every element of the iterator matches a predicate.
- assert_
approx - Assert for approximations.
- assert_
bag - Assert for comparing bag collections.
- assert_
command - Assert for comparing commands and their stdout & stderr.
- assert_
contains - Assert for a container and a containee.
- assert_
count - Assert for comparing counts.
- assert_
diff - Assert for comparing delta differences.
- assert_
ends_ with - Assert for a sequence that may end with a part.
- assert_
eq - Assert an expression is equal to another.
- assert_
err - Assert for Err(…) items.
- assert_
fn - Assert for comparing functions.
- assert_
fn_ err - Assert for comparing functions that return errors.
- assert_
fn_ ok - Assert for comparing functions that return Result::Ok.
- assert_
fs_ read_ to_ string - Assert for comparing file system path contents.
- assert_
ge - Assert an expression is greater than or equal to another.
- assert_
gt - Assert an expression is greater than another.
- assert_
in - Assert in nearness.
- assert_
infix - Assert a infix operator, such as assert_infix!(a == b).
- assert_
io_ read_ to_ string - Assert for comparing input/output reader streams.
- assert_
is_ empty - Assert for method is_empty().
- assert_
is_ match - Assert for method is_match(…).
- assert_
iter - Assert for comparing iter collections.
- assert_
le - Assert an expression is less than or equal to another.
- assert_
len - Assert for comparing lengths.
- assert_
lt - Assert an expression is less than another.
- assert_
matches - Assert matches for verifying an item matches a condition.
- assert_
ne - Assert an expression is not equal to another.
- assert_
none - Assert for None items.
- assert_
ok - Assert for Ok(…) items.
- assert_
option - Assert for
Option
{Some
,None
} - assert_
pending - Assert for Pending items.
- assert_
poll - Assert for
Poll
{Ready
,Pending
} - assert_
program_ args - Assert for comparing programs with arguments.
- assert_
ready - Assert for Ready(_) items.
- assert_
result - Assert for
Result
{Ok
,Err
} - assert_
set - Assert for comparing set collections.
- assert_
some - Assert for Some(_) items.
- assert_
starts_ with - Assert for a sequence that may start with a part.
- assert_
status - Assert for comparing status concepts.
- assert_
success - Assert a success method is true.
Macros§
- assert_
abs_ diff_ eq Deprecated - Assert an absolute difference is equal to an expression.
- assert_
abs_ diff_ eq_ as_ result Deprecated - Assert an absolute difference is equal to an expression.
- assert_
abs_ diff_ eq_ x - Assert an absolute difference is equal to an expression.
- assert_
abs_ diff_ eq_ x_ as_ result - Assert an absolute difference is equal to an expression.
- assert_
abs_ diff_ ge Deprecated - Assert an absolute difference is greater than or equal to an expression.
- assert_
abs_ diff_ ge_ as_ result Deprecated - Assert an absolute difference is greater than or equal to an expression.
- assert_
abs_ diff_ ge_ x - Assert an absolute difference is greater than or equal to an expression.
- assert_
abs_ diff_ ge_ x_ as_ result - Assert an absolute difference is greater than or equal to an expression.
- assert_
abs_ diff_ gt Deprecated - Assert an absolute difference is greater than an expression.
- assert_
abs_ diff_ gt_ as_ result Deprecated - Assert an absolute difference is greater than an expression.
- assert_
abs_ diff_ gt_ x - Assert an absolute difference is greater than an expression.
- assert_
abs_ diff_ gt_ x_ as_ result - Assert an absolute difference is greater than an expression.
- assert_
abs_ diff_ le Deprecated - Assert an absolute difference is less than or equal to an expression.
- assert_
abs_ diff_ le_ as_ result Deprecated - Assert an absolute difference is less than or equal to an expression.
- assert_
abs_ diff_ le_ x - Assert an absolute difference is less than or equal to an expression.
- assert_
abs_ diff_ le_ x_ as_ result - Assert an absolute difference is less than or equal to an expression.
- assert_
abs_ diff_ lt Deprecated - Assert an absolute difference is less than an expression.
- assert_
abs_ diff_ lt_ as_ result Deprecated - Assert an absolute difference is less than an expression.
- assert_
abs_ diff_ lt_ x - Assert an absolute difference is less than an expression.
- assert_
abs_ diff_ lt_ x_ as_ result - Assert an absolute difference is less than an expression.
- assert_
abs_ diff_ ne Deprecated - Assert an absolute difference is not equal to an expression.
- assert_
abs_ diff_ ne_ as_ result Deprecated - Assert an absolute difference is not equal to an expression.
- assert_
abs_ diff_ ne_ x - Assert an absolute difference is not equal to an expression.
- assert_
abs_ diff_ ne_ x_ as_ result - Assert an absolute difference is not equal to an expression.
- assert_
all - Assert every element of the iterator matches a predicate.
- assert_
all_ as_ result - Assert every element of the iterator matches a predicate.
- assert_
any - Assert every element of the iterator matches a predicate.
- assert_
any_ as_ result - Assert every element of the iterator matches a predicate.
- assert_
approx_ eq - Assert a number is approximately equal to another.
- assert_
approx_ eq_ as_ result - Assert a number is approximately equal to another.
- assert_
approx_ ne - Assert a number is approximately not equal to another.
- assert_
approx_ ne_ as_ result - Assert a number is approximately not equal to another.
- assert_
as_ result - Assert a condition is true.
- assert_
bag_ eq - Assert a bag is equal to another.
- assert_
bag_ eq_ as_ result - Assert a bag is equal to another.
- assert_
bag_ impl_ prep - Assert bag implementation preparation.
- assert_
bag_ ne - Assert a bag is not equal to another.
- assert_
bag_ ne_ as_ result - Assert a bag is not equal to another.
- assert_
bag_ subbag - Assert a bag is a subbag of another.
- assert_
bag_ subbag_ as_ result - Assert a bag is a subbag of another.
- assert_
bag_ superbag - Assert a bag is a superbag of another.
- assert_
bag_ superbag_ as_ result - Assert a bag is a superbag of another.
- assert_
command_ stderr_ contains Deprecated - Assert a command stderr string contains a given containee.
- assert_
command_ stderr_ contains_ as_ result Deprecated - into
assert_command_stderr_string_contains
. Assert a command stderr string contains a given containee. - assert_
command_ stderr_ eq - Assert a command stderr string is equal to another.
- assert_
command_ stderr_ eq_ as_ result - Assert a command stderr string is equal to another.
- assert_
command_ stderr_ eq_ x - Assert a command stderr string is equal to an expression.
- assert_
command_ stderr_ eq_ x_ as_ result - Assert a command stderr string is equal to an expression.
- assert_
command_ stderr_ ge - Assert a command stderr string is greater than or equal to another.
- assert_
command_ stderr_ ge_ as_ result - Assert a command stderr string is greater than or equal to another.
- assert_
command_ stderr_ ge_ x - Assert a command stderr string is greater than or equal to an expression.
- assert_
command_ stderr_ ge_ x_ as_ result - Assert a command stderr string is greater than or equal to an expression.
- assert_
command_ stderr_ gt - Assert a command stderr string is greater than another.
- assert_
command_ stderr_ gt_ as_ result - Assert a command stderr string is greater than another.
- assert_
command_ stderr_ gt_ x - Assert a command stderr string is greater than an expression.
- assert_
command_ stderr_ gt_ x_ as_ result - Assert a command stderr string is greater than an expression.
- assert_
command_ stderr_ is_ match Deprecated - Assert a command stderr string is a match to a regex.
- assert_
command_ stderr_ is_ match_ as_ result Deprecated - Assert a command stderr string is a match to a regex.
- assert_
command_ stderr_ le - Assert a command stderr string is less than or equal to another.
- assert_
command_ stderr_ le_ as_ result - Assert a command stderr string is less than or equal to another.
- assert_
command_ stderr_ le_ x - Assert a command stderr string is less than or equal to an expression.
- assert_
command_ stderr_ le_ x_ as_ result - Assert a command stderr string is less than or equal to an expression.
- assert_
command_ stderr_ lt - Assert a command stderr string is less than another.
- assert_
command_ stderr_ lt_ as_ result - Assert a command stderr string is less than another.
- assert_
command_ stderr_ lt_ x - Assert a command stderr string is less than an expression.
- assert_
command_ stderr_ lt_ x_ as_ result - Assert a command stderr string is less than an expression.
- assert_
command_ stderr_ ne - Assert a command stderr string is not equal to another.
- assert_
command_ stderr_ ne_ as_ result - Assert a command stderr string is not equal to another.
- assert_
command_ stderr_ ne_ x - Assert a command stderr string is not equal to an expression.
- assert_
command_ stderr_ ne_ x_ as_ result - Assert a command stderr string is not equal to an expression.
- assert_
command_ stderr_ string_ contains - Assert a command stderr string contains a given containee.
- assert_
command_ stderr_ string_ contains_ as_ result - Assert a command stderr string contains a given containee.
- assert_
command_ stderr_ string_ is_ match - Assert a command stderr string is a match to a regex.
- assert_
command_ stderr_ string_ is_ match_ as_ result - Assert a command stderr string is a match to a regex.
- assert_
command_ stdout_ contains Deprecated - Assert a command stdout string contains a given containee.
- assert_
command_ stdout_ contains_ as_ result Deprecated - Assert a command stdout string contains a given containee.
- assert_
command_ stdout_ eq - Assert a command stdout string is equal to another.
- assert_
command_ stdout_ eq_ as_ result - Assert a command stdout string is equal to another.
- assert_
command_ stdout_ eq_ x - Assert a command stdout string is equal to an expression.
- assert_
command_ stdout_ eq_ x_ as_ result - Assert a command stdout string is equal to an expression.
- assert_
command_ stdout_ ge - Assert a command stdout string is greater than or equal to another.
- assert_
command_ stdout_ ge_ as_ result - Assert a command stdout string is greater than or equal to another.
- assert_
command_ stdout_ ge_ x - Assert a command stdout string is greater than or equal to an expression.
- assert_
command_ stdout_ ge_ x_ as_ result - Assert a command stdout string is greater than or equal to an expression.
- assert_
command_ stdout_ gt - Assert a command stdout string is greater than another.
- assert_
command_ stdout_ gt_ as_ result - Assert a command stdout string is greater than another.
- assert_
command_ stdout_ gt_ x - Assert a command stdout string is greater than an expression.
- assert_
command_ stdout_ gt_ x_ as_ result - Assert a command stdout string is greater than an expression.
- assert_
command_ stdout_ is_ match Deprecated - Assert a command stdout string is a match to a regex.
- assert_
command_ stdout_ is_ match_ as_ result Deprecated - Assert a command stdout string is a match to a regex.
- assert_
command_ stdout_ le - Assert a command stdout string is less than or equal to another.
- assert_
command_ stdout_ le_ as_ result - Assert a command stdout string is less than or equal to another.
- assert_
command_ stdout_ le_ x - Assert a command stdout string is less than or equal to an expression.
- assert_
command_ stdout_ le_ x_ as_ result - Assert a command stdout string is less than or equal to an expression.
- assert_
command_ stdout_ lt - Assert a command stdout string is less than another.
- assert_
command_ stdout_ lt_ as_ result - Assert a command stdout string is less than another.
- assert_
command_ stdout_ lt_ x - Assert a command stdout string is less than an expression.
- assert_
command_ stdout_ lt_ x_ as_ result - Assert a command stdout string is less than an expression.
- assert_
command_ stdout_ ne - Assert a command stdout string is not equal to another.
- assert_
command_ stdout_ ne_ as_ result - Assert a command stdout string is not equal to another.
- assert_
command_ stdout_ ne_ x - Assert a command stdout string is not equal to an expression.
- assert_
command_ stdout_ ne_ x_ as_ result - Assert a command stdout string is not equal to an expression.
- assert_
command_ stdout_ string_ contains - Assert a command stdout string contains a given containee.
- assert_
command_ stdout_ string_ contains_ as_ result - Assert a command stdout string contains a given containee.
- assert_
command_ stdout_ string_ is_ match - Assert a command stdout string is a match to a regex.
- assert_
command_ stdout_ string_ is_ match_ as_ result - Assert a command stdout string is a match to a regex.
- assert_
contains - Assert a container is a match for an expression.
- assert_
contains_ as_ result - Assert an expression (such as a string) contains an expression (such as a substring).
- assert_
count_ eq - Assert a count is equal to another.
- assert_
count_ eq_ as_ result - Assert a count is equal to another.
- assert_
count_ eq_ x - Assert a count is equal to an expression.
- assert_
count_ eq_ x_ as_ result - Assert a count is equal to an expression.
- assert_
count_ ge - Assert a count is greater than or equal to another.
- assert_
count_ ge_ as_ result - Assert a count is greater than or equal to another.
- assert_
count_ ge_ x - Assert a count is greater than or equal to an expression.
- assert_
count_ ge_ x_ as_ result - Assert a count is greater than or equal to an expression.
- assert_
count_ gt - Assert a count is greater than another.
- assert_
count_ gt_ as_ result - Assert a count is greater than another.
- assert_
count_ gt_ x - Assert a count is greater than an expression.
- assert_
count_ gt_ x_ as_ result - Assert a count is greater than an expression.
- assert_
count_ le - Assert a count is less than or equal to another.
- assert_
count_ le_ as_ result - Assert a count is less than or equal to another.
- assert_
count_ le_ x - Assert a count is less than or equal to an expression.
- assert_
count_ le_ x_ as_ result - Assert a count is less than or equal to an expression.
- assert_
count_ lt - Assert a count is less than another.
- assert_
count_ lt_ as_ result - Assert a count is less than another.
- assert_
count_ lt_ x - Assert a count is less than an expression.
- assert_
count_ lt_ x_ as_ result - Assert a count is less than an expression.
- assert_
count_ ne - Assert a count is not equal to another.
- assert_
count_ ne_ as_ result - Assert a count is not equal to another.
- assert_
count_ ne_ x - Assert a count is not equal to an expression.
- assert_
count_ ne_ x_ as_ result - Assert a count is not equal to an expression.
- assert_
diff_ eq_ x - Assert a difference is equal to an expression.
- assert_
diff_ eq_ x_ as_ result - Assert a difference is equal to an expression.
- assert_
diff_ ge_ x - Assert a difference is greater than or equal to an expression.
- assert_
diff_ ge_ x_ as_ result - Assert a difference is greater than or equal to an expression.
- assert_
diff_ gt_ x - Assert a difference is greater than an expression.
- assert_
diff_ gt_ x_ as_ result - Assert a difference is greater than an expression.
- assert_
diff_ le_ x - Assert a difference is less than or equal to an expression.
- assert_
diff_ le_ x_ as_ result - Assert a difference is less than or equal to an expression.
- assert_
diff_ lt_ x - Assert a difference is less than an expression.
- assert_
diff_ lt_ x_ as_ result - Assert a difference is less than an expression.
- assert_
diff_ ne_ x - Assert a difference is not equal to an expression.
- assert_
diff_ ne_ x_ as_ result - Assert a difference is not equal to an expression.
- assert_
ends_ with - Assert an expression (such as a string) ends with an expression (such as a string).
- assert_
ends_ with_ as_ result - Assert an expression (such as a string) ends with an expression (such as a substring).
- assert_
eq_ as_ result - Assert an expression is equal to another.
- assert_
err - Assert expression is Err.
- assert_
err_ as_ result - Assert expression is Err.
- assert_
err_ eq - Assert two expressions are Err and their values are equal.
- assert_
err_ eq_ as_ result - Assert two expressions are Err and their values are equal.
- assert_
err_ eq_ x - Assert an expression is Err and its value is equal to an expression.
- assert_
err_ eq_ x_ as_ result - Assert an expression is Err and its value is equal to an expression.
- assert_
err_ ne - Assert two expressions are Err and their values are not equal.
- assert_
err_ ne_ as_ result - Assert two expressions are Err and their values are not equal.
- assert_
err_ ne_ x - Assert an expression is Err and its value is not equal to an expression.
- assert_
err_ ne_ x_ as_ result - Assert an expression is Err and its value is not equal to an expression.
- assert_
fn_ eq - Assert a function output is equal to another.
- assert_
fn_ eq_ as_ result - Assert a function output is equal to another.
- assert_
fn_ eq_ x - Assert a function output is equal to an expression.
- assert_
fn_ eq_ x_ as_ result - Assert a function output is equal to an expression.
- assert_
fn_ err_ eq - Assert a function error is equal to another.
- assert_
fn_ err_ eq_ as_ result - Assert a function error is equal to another.
- assert_
fn_ err_ eq_ x - Assert a function error is equal to an expression.
- assert_
fn_ err_ eq_ x_ as_ result - Assert a function error is equal to an expression.
- assert_
fn_ err_ ge - Assert a function error is greater than or equal to another.
- assert_
fn_ err_ ge_ as_ result - Assert a function error is greater than or equal to another.
- assert_
fn_ err_ ge_ x - Assert a function error is greater than or equal to an expression.
- assert_
fn_ err_ ge_ x_ as_ result - Assert a function error is greater than or equal to an expression.
- assert_
fn_ err_ gt - Assert a function error is greater than another.
- assert_
fn_ err_ gt_ as_ result - Assert a function error is greater than another.
- assert_
fn_ err_ gt_ x - Assert a function error is greater than an expression.
- assert_
fn_ err_ gt_ x_ as_ result - Assert a function error is greater than an expression.
- assert_
fn_ err_ le - Assert a function error is less than or equal to another.
- assert_
fn_ err_ le_ as_ result - Assert a function error is less than or equal to another.
- assert_
fn_ err_ le_ x - Assert a function error is less than or equal to an expression.
- assert_
fn_ err_ le_ x_ as_ result - Assert a function error is less than or equal to an expression.
- assert_
fn_ err_ lt - Assert a function error is less than another.
- assert_
fn_ err_ lt_ as_ result - Assert a function error is less than another.
- assert_
fn_ err_ lt_ x - Assert a function error is less than an expression.
- assert_
fn_ err_ lt_ x_ as_ result - Assert a function error is less than an expression.
- assert_
fn_ err_ ne - Assert a function error is not equal to another.
- assert_
fn_ err_ ne_ as_ result - Assert a function error is not equal to another.
- assert_
fn_ err_ ne_ x - Assert a function error is not equal to an expression.
- assert_
fn_ err_ ne_ x_ as_ result - Assert a function error is not equal to an expression.
- assert_
fn_ ge - Assert a function output is greater than or equal to another.
- assert_
fn_ ge_ as_ result - Assert a function output is greater than or equal to another.
- assert_
fn_ ge_ x - Assert a function output is greater than or equal to an expression.
- assert_
fn_ ge_ x_ as_ result - Assert a function output is greater than or equal to an expression.
- assert_
fn_ gt - Assert a function output is greater than another.
- assert_
fn_ gt_ as_ result - Assert a function output is greater than another.
- assert_
fn_ gt_ x - Assert a function output is greater than an expression.
- assert_
fn_ gt_ x_ as_ result - Assert a function output is greater than an expression.
- assert_
fn_ le - Assert a function output is less than or equal to another.
- assert_
fn_ le_ as_ result - Assert a function output is less than or equal to another.
- assert_
fn_ le_ x - Assert a function output is less than or equal to an expression.
- assert_
fn_ le_ x_ as_ result - Assert a function output is less than or equal to an expression.
- assert_
fn_ lt - Assert a function output is less than another.
- assert_
fn_ lt_ as_ result - Assert a function output is less than another.
- assert_
fn_ lt_ x - Assert a function output is less than an expression.
- assert_
fn_ lt_ x_ as_ result - Assert a function output is less than an expression.
- assert_
fn_ ne - Assert a function output is not equal to another.
- assert_
fn_ ne_ as_ result - Assert a function output is not equal to another.
- assert_
fn_ ne_ x - Assert a function output is not equal to an expression.
- assert_
fn_ ne_ x_ as_ result - Assert a function output is not equal to an expression.
- assert_
fn_ ok_ eq - Assert a function Ok(…) is equal to another.
- assert_
fn_ ok_ eq_ as_ result - Assert a function Ok(…) is equal to another.
- assert_
fn_ ok_ eq_ x - Assert a function Ok(…) is equal to an expression.
- assert_
fn_ ok_ eq_ x_ as_ result - Assert a function Ok(…) is equal to an expression.
- assert_
fn_ ok_ ge - Assert a function Ok(…) is greater than or equal to another.
- assert_
fn_ ok_ ge_ as_ result - Assert a function Ok(…) is greater than or equal to another.
- assert_
fn_ ok_ ge_ x - Assert a function Ok(…) is greater than or equal to an expression.
- assert_
fn_ ok_ ge_ x_ as_ result - Assert a function Ok(…) is greater than or equal to an expression.
- assert_
fn_ ok_ gt - Assert a function Ok(…) is greater than another.
- assert_
fn_ ok_ gt_ as_ result - Assert a function Ok(…) is greater than another.
- assert_
fn_ ok_ gt_ x - Assert a function Ok(…) is greater than an expression.
- assert_
fn_ ok_ gt_ x_ as_ result - Assert a function Ok(…) is greater than an expression.
- assert_
fn_ ok_ le - Assert a function Ok(…) is less than or equal to another.
- assert_
fn_ ok_ le_ as_ result - Assert a function Ok(…) is less than or equal to another.
- assert_
fn_ ok_ le_ x - Assert a function Ok(…) is less than or equal to an expression.
- assert_
fn_ ok_ le_ x_ as_ result - Assert a function Ok(…) is less than or equal to an expression.
- assert_
fn_ ok_ lt - Assert a function Ok(…) is less than another.
- assert_
fn_ ok_ lt_ as_ result - Assert a function Ok(…) is less than another.
- assert_
fn_ ok_ lt_ x - Assert a function Ok(…) is less than an expression.
- assert_
fn_ ok_ lt_ x_ as_ result - Assert a function Ok(…) is less than an expression.
- assert_
fn_ ok_ ne - Assert a function Ok(…) is not equal to another.
- assert_
fn_ ok_ ne_ as_ result - Assert a function Ok(…) is not equal to another.
- assert_
fn_ ok_ ne_ x - Assert a function Ok(…) is not equal to an expression.
- assert_
fn_ ok_ ne_ x_ as_ result - Assert a function Ok(…) is not equal to an expression.
- assert_
fs_ read_ to_ string_ contains - Assert a ::std::fs::read_to_string(path) contains a pattern.
- assert_
fs_ read_ to_ string_ contains_ as_ result - Assert a ::std::fs::read_to_string(path) contains a pattern.
- assert_
fs_ read_ to_ string_ eq - Assert a ::std::fs::read_to_string(path) value is equal to another.
- assert_
fs_ read_ to_ string_ eq_ as_ result - Assert a ::std::fs::read_to_string(path) is equal to another.
- assert_
fs_ read_ to_ string_ eq_ x - Assert a ::std::fs::read_to_string(path) value is equal to an expression.
- assert_
fs_ read_ to_ string_ eq_ x_ as_ result - Assert a ::std::fs::read_to_string(path) value is equal to an expression.
- assert_
fs_ read_ to_ string_ ge - Assert a ::std::fs::read_to_string(path) value is greater than or equal to another.
- assert_
fs_ read_ to_ string_ ge_ as_ result - Assert a ::std::fs::read_to_string(path) value is greater than or equal to another.
- assert_
fs_ read_ to_ string_ ge_ x - Assert a ::std::fs::read_to_string(path) value is greater than or equal to an expression.
- assert_
fs_ read_ to_ string_ ge_ x_ as_ result - Assert a ::std::fs::read_to_string(path) value is greater than or equal to an expression.
- assert_
fs_ read_ to_ string_ gt - Assert a ::std::fs::read_to_string(path) value is greater than another.
- assert_
fs_ read_ to_ string_ gt_ as_ result - Assert a ::std::fs::read_to_string(path) value is greater than another.
- assert_
fs_ read_ to_ string_ gt_ x - Assert a ::std::fs::read_to_string(path) value is greater than an expression.
- assert_
fs_ read_ to_ string_ gt_ x_ as_ result - Assert a ::std::fs::read_to_string(path) value is greater than an expression.
- assert_
fs_ read_ to_ string_ is_ match - Assert a ::std::fs::read_to_string(path) is a match to a regex.
- assert_
fs_ read_ to_ string_ is_ match_ as_ result - Assert a ::std::fs::read_to_string(path) is a match to a regex.
- assert_
fs_ read_ to_ string_ le - Assert a ::std::fs::read_to_string(path) value is less than or equal to another.
- assert_
fs_ read_ to_ string_ le_ as_ result - Assert a ::std::fs::read_to_string(path) value is less than or equal to another.
- assert_
fs_ read_ to_ string_ le_ x - Assert a ::std::fs::read_to_string(path) value is less than or equal to an expression.
- assert_
fs_ read_ to_ string_ le_ x_ as_ result - Assert a ::std::fs::read_to_string(path) value is less than or equal to an expression.
- assert_
fs_ read_ to_ string_ lt - Assert a ::std::fs::read_to_string(path) value is less than another.
- assert_
fs_ read_ to_ string_ lt_ as_ result - Assert a ::std::fs::read_to_string(path) value is less than another.
- assert_
fs_ read_ to_ string_ lt_ x - Assert a ::std::fs::read_to_string(path) value is less than an expression.
- assert_
fs_ read_ to_ string_ lt_ x_ as_ result - Assert a ::std::fs::read_to_string(path) value is less than an expression.
- assert_
fs_ read_ to_ string_ matches Deprecated - Assert a ::std::fs::read_to_string(path) is a match to a regex.
- assert_
fs_ read_ to_ string_ matches_ as_ result Deprecated - Assert a ::std::fs::read_to_string(path) is a match to a regex.
- assert_
fs_ read_ to_ string_ ne - Assert a ::std::fs::read_to_string(path) is not equal to another.
- assert_
fs_ read_ to_ string_ ne_ as_ result - Assert a ::std::fs::read_to_string(path) is not equal to another.
- assert_
fs_ read_ to_ string_ ne_ x - Assert a ::std::fs::read_to_string(path) is not equal to an expression.
- assert_
fs_ read_ to_ string_ ne_ x_ as_ result - Assert a ::std::fs::read_to_string(path) is not equal to an expression.
- assert_
ge - Assert an expression is greater than or equal to another.
- assert_
ge_ as_ result - Assert an expression is greater than or equal to another.
- assert_
gt - Assert an expression is greater than another.
- assert_
gt_ as_ result - Assert an expression is greater than another.
- assert_
in - Assert an item is in a container.
- assert_
in_ as_ result - Assert an item is in a container.
- assert_
in_ delta - Assert a number is within delta of another.
- assert_
in_ delta_ as_ result - Assert a number is within delta of another.
- assert_
in_ epsilon - Assert a number is within epsilon of another.
- assert_
in_ epsilon_ as_ result - Assert a number is within epsilon of another.
- assert_
in_ range - Assert an item is in a range.
- assert_
in_ range_ as_ result - Assert an item is in a range.
- assert_
infix - Assert a infix operator, such as assert_infix!(a == b).
- assert_
infix_ as_ result - Assert a infix operator, such as assert_infix!(a == b).
- assert_
io_ read_ to_ string_ contains - Assert a ::std::io::Read read_to_string() contains a pattern.
- assert_
io_ read_ to_ string_ contains_ as_ result - Assert a ::std::io::Read read_to_string() contains a pattern.
- assert_
io_ read_ to_ string_ eq - Assert a ::std::io::Read read_to_string() value is equal to another.
- assert_
io_ read_ to_ string_ eq_ as_ result - Assert a ::std::io::Read read_to_string() is equal to another.
- assert_
io_ read_ to_ string_ eq_ x - Assert a ::std::io::Read read_to_string() value is equal to an expression.
- assert_
io_ read_ to_ string_ eq_ x_ as_ result - Assert a ::std::io::Read read_to_string() value is equal to an expression.
- assert_
io_ read_ to_ string_ ge - Assert a ::std::io::Read read_to_string() value is greater than or equal to another.
- assert_
io_ read_ to_ string_ ge_ as_ result - Assert a ::std::io::Read read_to_string() value is greater than or equal to another.
- assert_
io_ read_ to_ string_ ge_ x - Assert a ::std::io::Read read_to_string() value is greater than or equal to an expression.
- assert_
io_ read_ to_ string_ ge_ x_ as_ result - Assert a ::std::io::Read read_to_string() value is greater than or equal to an expression.
- assert_
io_ read_ to_ string_ gt - Assert a ::std::io::Read read_to_string() value is greater than another.
- assert_
io_ read_ to_ string_ gt_ as_ result - Assert a ::std::io::Read read_to_string() value is greater than another.
- assert_
io_ read_ to_ string_ gt_ x - Assert a ::std::io::Read read_to_string() value is greater than an expression.
- assert_
io_ read_ to_ string_ gt_ x_ as_ result - Assert a ::std::io::Read read_to_string() value is greater than an expression.
- assert_
io_ read_ to_ string_ is_ match - Assert a ::std::io::Read read_to_string() is a match to a regex.
- assert_
io_ read_ to_ string_ is_ match_ as_ result - Assert a ::std::io::Read read_to_string() is a match to a regex.
- assert_
io_ read_ to_ string_ le - Assert a ::std::io::Read read_to_string() value is less than or equal to another.
- assert_
io_ read_ to_ string_ le_ as_ result - Assert a ::std::io::Read read_to_string() value is less than or equal to another.
- assert_
io_ read_ to_ string_ le_ x - Assert a ::std::io::Read read_to_string() value is less than or equal to an expression.
- assert_
io_ read_ to_ string_ le_ x_ as_ result - Assert a ::std::io::Read read_to_string() value is less than or equal to an expression.
- assert_
io_ read_ to_ string_ lt - Assert a ::std::io::Read read_to_string() value is less than another.
- assert_
io_ read_ to_ string_ lt_ as_ result - Assert a ::std::io::Read read_to_string() value is less than another.
- assert_
io_ read_ to_ string_ lt_ x - Assert a ::std::io::Read read_to_string() value is less than an expression.
- assert_
io_ read_ to_ string_ lt_ x_ as_ result - Assert a ::std::io::Read read_to_string() value is less than an expression.
- assert_
io_ read_ to_ string_ matches Deprecated - Assert a ::std::io::read_to_string(path) is a match to a regex.
- assert_
io_ read_ to_ string_ matches_ as_ result Deprecated - Assert a ::std::io::read_to_string(path) is a match to a regex.
- assert_
io_ read_ to_ string_ ne - Assert a ::std::io::Read read_to_string() is not equal to another.
- assert_
io_ read_ to_ string_ ne_ as_ result - Assert a ::std::io::Read read_to_string() is not equal to another.
- assert_
io_ read_ to_ string_ ne_ x - Assert a ::std::io::Read read_to_string() is not equal to an expression.
- assert_
io_ read_ to_ string_ ne_ x_ as_ result - Assert a ::std::io::Read read_to_string() is not equal to an expression.
- assert_
is_ empty - Assert an expression (such as a string or array) is empty.
- assert_
is_ empty_ as_ result - Assert an expression (such as a regex) is a match for an expression (such as a string).
- assert_
is_ match - Assert a matcher is a match for an expression.
- assert_
is_ match_ as_ result - Assert an expression (such as a regex) is a match for an expression (such as a string).
- assert_
iter_ eq - Assert an iterable is equal to another.
- assert_
iter_ eq_ as_ result - Assert an iterable is equal to another.
- assert_
iter_ ge - Assert an iterable is greater than or equal to another.
- assert_
iter_ ge_ as_ result - Assert an iterable is greater than or equal to another.
- assert_
iter_ gt - Assert an iterable is greater than another.
- assert_
iter_ gt_ as_ result - Assert an iterable is greater than another.
- assert_
iter_ le - Assert an iterable is less than or equal to another.
- assert_
iter_ le_ as_ result - Assert an iterable is less than or equal to another.
- assert_
iter_ lt - Assert an iterable is less than another.
- assert_
iter_ lt_ as_ result - Assert an iterable is less than another.
- assert_
iter_ ne - Assert an iterable is not equal to another.
- assert_
iter_ ne_ as_ result - Assert an iterable is not equal to another.
- assert_
le - Assert an expression is less than or equal to another.
- assert_
le_ as_ result - Assert an expression is less than or equal to another.
- assert_
len_ eq - Assert a length is equal to another.
- assert_
len_ eq_ as_ result - Assert a length is equal to another.
- assert_
len_ eq_ x - Assert a length is equal to an expression.
- assert_
len_ eq_ x_ as_ result - Assert a length is equal to an expression.
- assert_
len_ ge - Assert a length is greater than or equal to another.
- assert_
len_ ge_ as_ result - Assert a length is greater than or equal to another.
- assert_
len_ ge_ x - Assert a length is greater than or equal to an expression.
- assert_
len_ ge_ x_ as_ result - Assert a length is greater than or equal to an expression.
- assert_
len_ gt - Assert a length is greater than another.
- assert_
len_ gt_ as_ result - Assert a length is greater than another.
- assert_
len_ gt_ x - Assert a length is greater than an expression.
- assert_
len_ gt_ x_ as_ result - Assert a length is greater than an expression.
- assert_
len_ le - Assert a length is less than or equal to another.
- assert_
len_ le_ as_ result - Assert a length is less than or equal to another.
- assert_
len_ le_ x - Assert a length is less than or equal to an expression.
- assert_
len_ le_ x_ as_ result - Assert a length is less than or equal to an expression.
- assert_
len_ lt - Assert a length is less than another.
- assert_
len_ lt_ as_ result - Assert a length is less than another.
- assert_
len_ lt_ x - Assert a length is less than an expression.
- assert_
len_ lt_ x_ as_ result - Assert a length is less than an expression.
- assert_
len_ ne - Assert a length is not equal to another.
- assert_
len_ ne_ as_ result - Assert a length is not equal to another.
- assert_
len_ ne_ x - Assert a length is not equal to an expression.
- assert_
len_ ne_ x_ as_ result - Assert a length is not equal to an expression.
- assert_
lt - Assert an expression is less than another.
- assert_
lt_ as_ result - Assert an expression is less than another.
- assert_
matches - Assert expression is Some.
- assert_
matches_ as_ result - Assert expression matches a case.
- assert_
ne_ as_ result - Assert an expression is not equal to another.
- assert_
none - Assert expression is None.
- assert_
none_ as_ result - Assert an expression is None.
- assert_
not_ contains - Assert an expression (such as a string) does not contain an expression (such as a substring).
- assert_
not_ contains_ as_ result - Assert an expression (such as a string) does not contain an expression (such as a substring).
- assert_
not_ empty - Assert an expression (such as a string or array) is not empty.
- assert_
not_ empty_ as_ result - Assert an expression (such as a string or array) is not empty.
- assert_
not_ ends_ with - Assert an expression (such as a string) does not end with an expression (such as a string).
- assert_
not_ ends_ with_ as_ result - Assert an expression (such as a string) does not end with an expression (such as a substring).
- assert_
not_ match - Assert an expression (such as a regex) is not a match for an expression (such as a string).
- assert_
not_ match_ as_ result - Assert an expression (such as a regex) is not a match for an expression (such as a string).
- assert_
not_ matches - Assert expression is Some.
- assert_
not_ matches_ as_ result - Assert expression matches a case.
- assert_
not_ starts_ with - Assert an expression (such as a string) does not start with an expression (such as a string).
- assert_
not_ starts_ with_ as_ result - Assert an expression (such as a string) does not start with an expression (such as a substring).
- assert_
ok - Assert expression is Ok.
- assert_
ok_ as_ result - Assert expression is Ok.
- assert_
ok_ eq - Assert two expressions are Ok and their values are equal.
- assert_
ok_ eq_ as_ result - Assert two expressions are Ok and their values are equal.
- assert_
ok_ eq_ x - Assert an expression is Ok and its value is equal to an expression.
- assert_
ok_ eq_ x_ as_ result - Assert an expression is Ok and its value is equal to an expression.
- assert_
ok_ ne - Assert two expressions are Ok and their values are not equal.
- assert_
ok_ ne_ as_ result - Assert two expressions are Ok and their values are not equal.
- assert_
ok_ ne_ x - Assert an expression is Ok and its value is not equal to an expression.
- assert_
ok_ ne_ x_ as_ result - Assert an expression is Ok and its value is not equal to an expression.
- assert_
option_ none Deprecated - Assert expression is None.
- assert_
option_ none_ as_ result Deprecated - Assert expression is None.
- assert_
option_ some Deprecated - Assert expression is Some.
- assert_
option_ some_ as_ result Deprecated - Assert expression is Some.
- assert_
option_ some_ eq Deprecated - Assert two expressions are Some and their values are equal.
- assert_
option_ some_ eq_ as_ result Deprecated - Assert two expressions are Some and their values are equal.
- assert_
option_ some_ ne Deprecated - Assert two expressions are Some and their values are not equal.
- assert_
option_ some_ ne_ as_ result Deprecated - Assert two expressions are Some and their values are not equal.
- assert_
pending - Assert an expression is Pending.
- assert_
pending_ as_ result - Assert an expression.is_pending() is true.
- assert_
poll_ pending Deprecated - Assert an expression is Pending.
- assert_
poll_ pending_ as_ result Deprecated - Assert an expression.is_pending() is true.
- assert_
poll_ ready Deprecated - Assert an expression is Ready.
- assert_
poll_ ready_ as_ result Deprecated - Assert an expression is Ready.
- assert_
poll_ ready_ eq Deprecated - Assert two expressions are Ready(_) and their values are equal.
- assert_
poll_ ready_ eq_ as_ result Deprecated - Assert two expressions are Ready(_) and their values are equal.
- assert_
poll_ ready_ ne Deprecated - Assert two expressions are Ready(_) and their values are not equal.
- assert_
poll_ ready_ ne_ as_ result Deprecated - Assert two expressions are Ready(_) and their values are not equal.
- assert_
program_ args_ impl_ prep - Assert program args implementation preparation.
- assert_
program_ args_ stderr_ contains Deprecated - Assert a command (built with program and args) stderr into a string contains a given containee.
- assert_
program_ args_ stderr_ contains_ as_ result Deprecated - Assert a command (built with program and args) stderr into a string contains a given containee.
- assert_
program_ args_ stderr_ eq - Assert a command (built with program and args) stderr is equal to another.
- assert_
program_ args_ stderr_ eq_ as_ result - Assert a command (built with program and args) stderr is equal to another.
- assert_
program_ args_ stderr_ eq_ x - Assert a command (built with program and args) stderr is equal to an expression.
- assert_
program_ args_ stderr_ eq_ x_ as_ result - Assert a command (built with program and args) stderr is equal to an expression.
- assert_
program_ args_ stderr_ ge - Assert a command (built with program and args) stderr is greater than or equal to another.
- assert_
program_ args_ stderr_ ge_ as_ result - Assert a command (built with program and args) stderr is greater than or equal to another.
- assert_
program_ args_ stderr_ ge_ x - Assert a command (built with program and args) stderr is greater than or equal to an expression.
- assert_
program_ args_ stderr_ ge_ x_ as_ result - Assert a command (built with program and args) stderr is greater than or equal to an expression.
- assert_
program_ args_ stderr_ gt - Assert a command (built with program and args) stderr is greater than to another.
- assert_
program_ args_ stderr_ gt_ as_ result - Assert a command (built with program and args) stderr is greater than another.
- assert_
program_ args_ stderr_ gt_ x - Assert a command (built with program and args) stderr is greater than an expression.
- assert_
program_ args_ stderr_ gt_ x_ as_ result - Assert a command (built with program and args) stderr is greater than an expression.
- assert_
program_ args_ stderr_ is_ match Deprecated - Assert a command (built with program and args) stderr into a string is a match to a regex.
- assert_
program_ args_ stderr_ is_ match_ as_ result Deprecated - Assert a command (built with program and args) stderr into a string is a match to a regex.
- assert_
program_ args_ stderr_ le - Assert a command (built with program and args) stderr is less than or equal to another.
- assert_
program_ args_ stderr_ le_ as_ result - Assert a command (built with program and args) stderr is less than or equal to another.
- assert_
program_ args_ stderr_ le_ x - Assert a command (built with program and args) stderr is less than or equal to an expression.
- assert_
program_ args_ stderr_ le_ x_ as_ result - Assert a command (built with program and args) stderr is less than or equal to an expression.
- assert_
program_ args_ stderr_ lt - Assert a command (built with program and args) stderr is less than another.
- assert_
program_ args_ stderr_ lt_ as_ result - Assert a command (built with program and args) stderr is less than another.
- assert_
program_ args_ stderr_ lt_ x - Assert a command (built with program and args) stderr is less than an expression.
- assert_
program_ args_ stderr_ lt_ x_ as_ result - Assert a command (built with program and args) stderr is less than an expression.
- assert_
program_ args_ stderr_ ne - Assert a command (built with program and args) stderr is not equal to another.
- assert_
program_ args_ stderr_ ne_ as_ result - Assert a command (built with program and args) stderr is not equal to another.
- assert_
program_ args_ stderr_ ne_ x - Assert a command (built with program and args) stderr is not equal to an expression.
- assert_
program_ args_ stderr_ ne_ x_ as_ result - Assert a command (built with program and args) stderr is not equal to an expression.
- assert_
program_ args_ stderr_ string_ contains - Assert a command (built with program and args) stderr into a string contains a given containee.
- assert_
program_ args_ stderr_ string_ contains_ as_ result - Assert a command (built with program and args) stderr into a string contains a given containee.
- assert_
program_ args_ stderr_ string_ is_ match - Assert a command (built with program and args) stderr into a string is a match to a regex.
- assert_
program_ args_ stderr_ string_ is_ match_ as_ result - Assert a command (built with program and args) stderr into a string is a match to a regex.
- assert_
program_ args_ stdout_ contains Deprecated - Assert a command (built with program and args) stdout into a string contains a given containee.
- assert_
program_ args_ stdout_ contains_ as_ result Deprecated - Assert a command (built with program and args) stdout into a string contains a given containee.
- assert_
program_ args_ stdout_ eq - Assert a command (built with program and args) stdout is equal to another.
- assert_
program_ args_ stdout_ eq_ as_ result - Assert a command (built with program and args) stdout is equal to another.
- assert_
program_ args_ stdout_ eq_ x - Assert a command (built with program and args) stdout is equal to an expression.
- assert_
program_ args_ stdout_ eq_ x_ as_ result - Assert a command (built with program and args) stdout is equal to an expression.
- assert_
program_ args_ stdout_ ge - Assert a command (built with program and args) stdout is greater than or equal to another.
- assert_
program_ args_ stdout_ ge_ as_ result - Assert a command (built with program and args) stdout is greater than or equal to another.
- assert_
program_ args_ stdout_ ge_ x - Assert a command (built with program and args) stdout is greater than or equal to an expression.
- assert_
program_ args_ stdout_ ge_ x_ as_ result - Assert a command (built with program and args) stdout is greater than or equal to an expression.
- assert_
program_ args_ stdout_ gt - Assert a command (built with program and args) stdout is greater than another.
- assert_
program_ args_ stdout_ gt_ as_ result - Assert a command (built with program and args) stdout is greater than to another.
- assert_
program_ args_ stdout_ gt_ x - Assert a command (built with program and args) stdout is greater than an expression.
- assert_
program_ args_ stdout_ gt_ x_ as_ result - Assert a command (built with program and args) stdout is greater than an expression.
- assert_
program_ args_ stdout_ is_ match Deprecated - Assert a command (built with program and args) stdout into a string is a match to a regex.
- assert_
program_ args_ stdout_ is_ match_ as_ result Deprecated - Assert a command (built with program and args) stdout into a string is a match to a regex.
- assert_
program_ args_ stdout_ le - Assert a command (built with program and args) stdout is less than or equal to another.
- assert_
program_ args_ stdout_ le_ as_ result - Assert a command (built with program and args) stdout is less than or equal to another.
- assert_
program_ args_ stdout_ le_ x - Assert a command (built with program and args) stdout is less than or equal to an expression.
- assert_
program_ args_ stdout_ le_ x_ as_ result - Assert a command (built with program and args) stdout is less than or equal to an expression.
- assert_
program_ args_ stdout_ lt - Assert a command (built with program and args) stdout is less than another.
- assert_
program_ args_ stdout_ lt_ as_ result - Assert a command (built with program and args) stdout is less than another.
- assert_
program_ args_ stdout_ lt_ x - Assert a command (built with program and args) stdout is less than an expression.
- assert_
program_ args_ stdout_ lt_ x_ as_ result - Assert a command (built with program and args) stdout is less than an expression.
- assert_
program_ args_ stdout_ ne - Assert a command (built with program and args) stdout is not equal to another.
- assert_
program_ args_ stdout_ ne_ as_ result - Assert a command (built with program and args) stdout is not equal to another.
- assert_
program_ args_ stdout_ ne_ x - Assert a command (built with program and args) stdout is not equal to an expression.
- assert_
program_ args_ stdout_ ne_ x_ as_ result - Assert a command (built with program and args) stdout is not equal to an expression.
- assert_
program_ args_ stdout_ string_ contains - Assert a command (built with program and args) stdout into a string contains a given containee.
- assert_
program_ args_ stdout_ string_ contains_ as_ result - Assert a command (built with program and args) stdout into a string contains a given containee.
- assert_
program_ args_ stdout_ string_ is_ match - Assert a command (built with program and args) stdout into a string is a match to a regex.
- assert_
program_ args_ stdout_ string_ is_ match_ as_ result - Assert a command (built with program and args) stdout into a string is a match to a regex.
- assert_
ready - Assert an expression is Ready.
- assert_
ready_ as_ result - Assert an expression is Ready.
- assert_
ready_ eq - Assert two expressions are Ready and their values are equal.
- assert_
ready_ eq_ as_ result - Assert two expressions are Ready and their values are equal.
- assert_
ready_ eq_ x - Assert an expression is Ready and its value is equal to an expression.
- assert_
ready_ eq_ x_ as_ result - Assert an expression is Ready and its value is equal to an expression.
- assert_
ready_ ne - Assert two expressions are Ready and their values are not equal.
- assert_
ready_ ne_ as_ result - Assert two expressions are Ready and their values are not equal.
- assert_
ready_ ne_ x - Assert an expression is Ready and its value is not equal to an expression.
- assert_
ready_ ne_ x_ as_ result - Assert an expression is Ready and its value is not equal to an expression.
- assert_
result_ err Deprecated - Assert expression is Err.
- assert_
result_ err_ as_ result Deprecated - Assert expression is Err.
- assert_
result_ ok Deprecated - Assert expression is Ok.
- assert_
result_ ok_ as_ result Deprecated - Assert expression is Ok.
- assert_
result_ ok_ eq Deprecated - Assert two expressions are Ok and their values are equal.
- assert_
result_ ok_ eq_ as_ result Deprecated - Assert two expressions are Ok and their values are equal.
- assert_
result_ ok_ ne Deprecated - Assert two expressions are Ok and their values are not equal.
- assert_
result_ ok_ ne_ as_ result Deprecated - Assert two expressions are Ok and their values are not equal.
- assert_
set_ disjoint - Assert a set is disjoint with another.
- assert_
set_ disjoint_ as_ result - Assert a set is disjoint with another.
- assert_
set_ eq - Assert a set is equal to another.
- assert_
set_ eq_ as_ result - Assert a set is equal to another.
- assert_
set_ impl_ prep - Assert set implementation preparation.
- assert_
set_ joint - Assert a set is joint with another.
- assert_
set_ joint_ as_ result - Assert a set is joint with another.
- assert_
set_ ne - Assert a set is not equal to another.
- assert_
set_ ne_ as_ result - Assert a set is not equal to another.
- assert_
set_ subset - Assert a set is a subset of another.
- assert_
set_ subset_ as_ result - Assert a set is a subset of another.
- assert_
set_ superset - Assert a set is a superset of another.
- assert_
set_ superset_ as_ result - Assert a set is a superset of another.
- assert_
some - Assert expression is Some.
- assert_
some_ as_ result - Assert an expression.is_some() is true.
- assert_
some_ eq - Assert two expressions are Some and their values are equal.
- assert_
some_ eq_ as_ result - Pseudocode:
(a ⇒ Some(a1) ⇒ a1) = (b ⇒ Some(b1) ⇒ b1) - assert_
some_ eq_ x - Assert an expression is Some and its value is equal to an expression.
- assert_
some_ eq_ x_ as_ result - Assert a.is_some() and a.unwrap() are equal to another.
- assert_
some_ ne - Assert two expressions are Some and their values are not equal.
- assert_
some_ ne_ as_ result - Assert two expressions are Some and their values are not equal.
- assert_
some_ ne_ x - Assert an expression is Some and its value is not equal to an expression.
- assert_
some_ ne_ x_ as_ result - Assert a.is_some() and a.unwrap() are equal to another.
- assert_
starts_ with - Assert an expression (such as a string) starts with an expression (such as a string).
- assert_
starts_ with_ as_ result - Assert an expression (such as a string) starts with an expression (such as a substring).
- assert_
status_ code_ value_ eq - Assert a status code value is equal to another.
- assert_
status_ code_ value_ eq_ as_ result - Assert a status code value is equal to another.
- assert_
status_ code_ value_ eq_ x - Assert a status code value is equal to an expression.
- assert_
status_ code_ value_ eq_ x_ as_ result - Assert a status code value is equal to an expression.
- assert_
status_ code_ value_ ge - Assert a status code value is greater than or equal to another.
- assert_
status_ code_ value_ ge_ as_ result - Assert a status code value is greater than or equal to another.
- assert_
status_ code_ value_ ge_ x - Assert a status code value is greater than or equal to an expression.
- assert_
status_ code_ value_ ge_ x_ as_ result - Assert a status code value is greater than or equal to an expression.
- assert_
status_ code_ value_ gt - Assert a status code value is greater than another.
- assert_
status_ code_ value_ gt_ as_ result - Assert a status code value is greater than another.
- assert_
status_ code_ value_ gt_ x - Assert a status code value is greater than an expression.
- assert_
status_ code_ value_ gt_ x_ as_ result - Assert a status code value is greater than an expression.
- assert_
status_ code_ value_ le - Assert a status code value is less than or equal to another.
- assert_
status_ code_ value_ le_ as_ result - Assert a status code value is less than or equal to another.
- assert_
status_ code_ value_ le_ x - Assert a status code value is less than or equal to an expression.
- assert_
status_ code_ value_ le_ x_ as_ result - Assert a status code value is less than or equal to an expression.
- assert_
status_ code_ value_ lt - Assert a status code value is less than another.
- assert_
status_ code_ value_ lt_ as_ result - Assert a status code value is less than another.
- assert_
status_ code_ value_ lt_ x - Assert a status code value is less than an expression.
- assert_
status_ code_ value_ lt_ x_ as_ result - Assert a status code value is less than an expression.
- assert_
status_ code_ value_ ne - Assert a status code value is not equal to another.
- assert_
status_ code_ value_ ne_ as_ result - Assert a status code value is not equal to another.
- assert_
status_ code_ value_ ne_ x - Assert a status code value is not equal to another.
- assert_
status_ code_ value_ ne_ x_ as_ result - Assert a status code value is not equal to another.
- assert_
status_ success - Assert a status is a success.
- assert_
status_ success_ as_ result - Assert a status is a success.
- assert_
status_ success_ false - Assert a status is a failure.
- assert_
status_ success_ false_ as_ result - Assert a status is a failure.
- assert_
success - Assert a success method is true.
- assert_
success_ as_ result - Assert a success method is true.
- assert_
success_ false - Assert a failure method is true.
- assert_
success_ false_ as_ result - Assert a failure method is true.
- debug_
assert_ abs_ diff_ eq Deprecated - Assert an absolute difference is equal to an expression.
- debug_
assert_ abs_ diff_ eq_ x - Assert an absolute difference is equal to an expression.
- debug_
assert_ abs_ diff_ ge Deprecated - Assert an absolute difference is greater than or equal to an expression.
- debug_
assert_ abs_ diff_ ge_ x - Assert an absolute difference is greater than or equal to an expression.
- debug_
assert_ abs_ diff_ gt Deprecated - Assert an absolute difference is greater than an expression.
- debug_
assert_ abs_ diff_ gt_ x - Assert an absolute difference is greater than an expression.
- debug_
assert_ abs_ diff_ le Deprecated - Assert an absolute difference is less than or equal to an expression.
- debug_
assert_ abs_ diff_ le_ x - Assert an absolute difference is less than or equal to an expression.
- debug_
assert_ abs_ diff_ lt Deprecated - Assert an absolute difference is less than an expression.
- debug_
assert_ abs_ diff_ lt_ x - Assert an absolute difference is less than an expression.
- debug_
assert_ abs_ diff_ ne Deprecated - Assert an absolute difference is not equal to an expression.
- debug_
assert_ abs_ diff_ ne_ x - Assert an absolute difference is not equal to an expression.
- debug_
assert_ all - Assert every element of the iterator matches a predicate.
- debug_
assert_ any - Assert every element of the iterator matches a predicate.
- debug_
assert_ approx_ eq - Assert a number is approximately equal to another.
- debug_
assert_ approx_ ne - Assert a number is approximately not equal to another.
- debug_
assert_ bag_ eq - Assert a bag is equal to another.
- debug_
assert_ bag_ ne - Assert a bag is not equal to another.
- debug_
assert_ bag_ subbag - Assert a bag is a subbag of another.
- debug_
assert_ bag_ superbag - Assert a bag is a superbag of another.
- debug_
assert_ command_ stderr_ contains Deprecated - Assert a command stderr string contains a given containee.
- debug_
assert_ command_ stderr_ eq - Assert a command stderr string is equal to another.
- debug_
assert_ command_ stderr_ eq_ x - Assert a command stderr string is equal to an expression.
- debug_
assert_ command_ stderr_ ge - Assert a command stderr string is greater than or equal to another.
- debug_
assert_ command_ stderr_ ge_ x - Assert a command stderr string is greater than or equal to an expression.
- debug_
assert_ command_ stderr_ gt - Assert a command stderr string is greater than another.
- debug_
assert_ command_ stderr_ gt_ x - Assert a command stderr string is greater than an expression.
- debug_
assert_ command_ stderr_ is_ match Deprecated - Assert a command stderr string is a match to a regex.
- debug_
assert_ command_ stderr_ le - Assert a command stderr string is less than or equal to another.
- debug_
assert_ command_ stderr_ le_ x - Assert a command stderr string is less than or equal to an expression.
- debug_
assert_ command_ stderr_ lt - Assert a command stderr string is less than another.
- debug_
assert_ command_ stderr_ lt_ x - Assert a command stderr string is less than an expression.
- debug_
assert_ command_ stderr_ ne - Assert a command stderr string is not equal to another.
- debug_
assert_ command_ stderr_ ne_ x - Assert a command stderr string is not equal to an expression.
- debug_
assert_ command_ stderr_ string_ contains - Assert a command stderr string contains a given containee.
- debug_
assert_ command_ stderr_ string_ is_ match - Assert a command stderr string is a match to a regex.
- debug_
assert_ command_ stdout_ contains Deprecated - Assert a command stdout string contains a given containee.
- debug_
assert_ command_ stdout_ eq - Assert a command stdout string is equal to another.
- debug_
assert_ command_ stdout_ eq_ x - Assert a command stdout string is equal to an expression.
- debug_
assert_ command_ stdout_ ge - Assert a command stdout string is greater than or equal to another.
- debug_
assert_ command_ stdout_ ge_ x - Assert a command stdout string is greater than or equal to an expression.
- debug_
assert_ command_ stdout_ gt - Assert a command stdout string is greater than another.
- debug_
assert_ command_ stdout_ gt_ x - Assert a command stdout string is greater than an expression.
- debug_
assert_ command_ stdout_ is_ match Deprecated - Assert a command stdout string is a match to a regex.
- debug_
assert_ command_ stdout_ le - Assert a command stdout string is less than or equal to another.
- debug_
assert_ command_ stdout_ le_ x - Assert a command stdout string is less than or equal to an expression.
- debug_
assert_ command_ stdout_ lt - Assert a command stdout string is less than another.
- debug_
assert_ command_ stdout_ lt_ x - Assert a command stdout string is less than an expression.
- debug_
assert_ command_ stdout_ ne - Assert a command stdout string is not equal to another.
- debug_
assert_ command_ stdout_ ne_ x - Assert a command stdout string is not equal to an expression.
- debug_
assert_ command_ stdout_ string_ contains - Assert a command stdout string contains a given containee.
- debug_
assert_ command_ stdout_ string_ is_ match - Assert a command stdout string is a match to a regex.
- debug_
assert_ contains - Assert a container is a match for an expression.
- debug_
assert_ count_ eq - Assert a count is equal to another.
- debug_
assert_ count_ eq_ x - Assert a count is equal to an expression.
- debug_
assert_ count_ ge - Assert a count is greater than or equal to another.
- debug_
assert_ count_ ge_ x - Assert a count is greater than or equal to an expression.
- debug_
assert_ count_ gt - Assert a count is greater than another.
- debug_
assert_ count_ gt_ x - Assert a count is greater than an expression.
- debug_
assert_ count_ le - Assert a count is less than or equal to another.
- debug_
assert_ count_ le_ x - Assert a count is less than or equal to an expression.
- debug_
assert_ count_ lt - Assert a count is less than another.
- debug_
assert_ count_ lt_ x - Assert a count is less than an expression.
- debug_
assert_ count_ ne - Assert a count is not equal to another.
- debug_
assert_ count_ ne_ x - Assert a count is not equal to an expression.
- debug_
assert_ diff_ eq_ x - Assert a difference is equal to an expression.
- debug_
assert_ diff_ ge_ x - Assert a difference is greater than or equal to an expression.
- debug_
assert_ diff_ gt_ x - Assert a difference is greater than an expression.
- debug_
assert_ diff_ le_ x - Assert a difference is less than or equal to an expression.
- debug_
assert_ diff_ lt_ x - Assert a difference is less than an expression.
- debug_
assert_ diff_ ne_ x - Assert a difference is not equal to an expression.
- debug_
assert_ ends_ with - Assert an expression (such as a string) ends with an expression (such as a string).
- debug_
assert_ err - Assert expression is Err.
- debug_
assert_ err_ eq - Assert two expressions are Err and their values are equal.
- debug_
assert_ err_ eq_ x - Assert an expression is Err and its value is equal to an expression.
- debug_
assert_ err_ ne - Assert two expressions are Err and their values are not equal.
- debug_
assert_ err_ ne_ x - Assert an expression is Err and its value is not equal to an expression.
- debug_
assert_ fn_ eq - Assert a function output is equal to another.
- debug_
assert_ fn_ eq_ x - Assert a function output is equal to an expression.
- debug_
assert_ fn_ err_ eq - Assert a function error is equal to another.
- debug_
assert_ fn_ err_ eq_ x - Assert a function error is equal to an expression.
- debug_
assert_ fn_ err_ ge - Assert a function error is greater than or equal to another.
- debug_
assert_ fn_ err_ ge_ x - Assert a function error is greater than or equal to an expression.
- debug_
assert_ fn_ err_ gt - Assert a function error is greater than another.
- debug_
assert_ fn_ err_ gt_ x - Assert a function error is greater than an expression.
- debug_
assert_ fn_ err_ le - Assert a function error is less than or equal to another.
- debug_
assert_ fn_ err_ le_ x - Assert a function error is less than or equal to an expression.
- debug_
assert_ fn_ err_ lt - Assert a function error is less than another.
- debug_
assert_ fn_ err_ lt_ x - Assert a function error is less than an expression.
- debug_
assert_ fn_ err_ ne - Assert a function error is not equal to another.
- debug_
assert_ fn_ err_ ne_ x - Assert a function error is not equal to an expression.
- debug_
assert_ fn_ ge - Assert a function output is greater than or equal to another.
- debug_
assert_ fn_ ge_ x - Assert a function output is greater than or equal to an expression.
- debug_
assert_ fn_ gt - Assert a function output is greater than another.
- debug_
assert_ fn_ gt_ x - Assert a function output is greater than an expression.
- debug_
assert_ fn_ le - Assert a function output is less than or equal to another.
- debug_
assert_ fn_ le_ x - Assert a function output is less than or equal to an expression.
- debug_
assert_ fn_ lt - Assert a function output is less than another.
- debug_
assert_ fn_ lt_ x - Assert a function output is less than an expression.
- debug_
assert_ fn_ ne - Assert a function output is not equal to another.
- debug_
assert_ fn_ ne_ x - Assert a function output is not equal to an expression.
- debug_
assert_ fn_ ok_ eq - Assert a function Ok(…) is equal to another.
- debug_
assert_ fn_ ok_ eq_ x - Assert a function Ok(…) is equal to an expression.
- debug_
assert_ fn_ ok_ ge - Assert a function Ok(…) is greater than or equal to another.
- debug_
assert_ fn_ ok_ ge_ x - Assert a function Ok(…) is greater than or equal to an expression.
- debug_
assert_ fn_ ok_ gt - Assert a function Ok(…) is greater than another.
- debug_
assert_ fn_ ok_ gt_ x - Assert a function Ok(…) is greater than an expression.
- debug_
assert_ fn_ ok_ le - Assert a function Ok(…) is less than or equal to another.
- debug_
assert_ fn_ ok_ le_ x - Assert a function Ok(…) is less than or equal to an expression.
- debug_
assert_ fn_ ok_ lt - Assert a function Ok(…) is less than another.
- debug_
assert_ fn_ ok_ lt_ x - Assert a function Ok(…) is less than an expression.
- debug_
assert_ fn_ ok_ ne - Assert a function Ok(…) is not equal to another.
- debug_
assert_ fn_ ok_ ne_ x - Assert a function Ok(…) is not equal to an expression.
- debug_
assert_ fs_ read_ to_ string_ contains - Assert a ::std::fs::read_to_string(path) contains a pattern.
- debug_
assert_ fs_ read_ to_ string_ eq - Assert a ::std::fs::read_to_string(path) value is equal to another.
- debug_
assert_ fs_ read_ to_ string_ eq_ x - Assert a ::std::fs::read_to_string(path) value is equal to an expression.
- debug_
assert_ fs_ read_ to_ string_ ge - Assert a ::std::fs::read_to_string(path) value is greater than or equal to another.
- debug_
assert_ fs_ read_ to_ string_ ge_ x - Assert zzz.
- debug_
assert_ fs_ read_ to_ string_ gt - Assert a ::std::fs::read_to_string(path) value is greater than another.
- debug_
assert_ fs_ read_ to_ string_ gt_ x - Assert a ::std::fs::read_to_string(path) value is greater than an expression.
- debug_
assert_ fs_ read_ to_ string_ is_ match - Assert a ::std::fs::read_to_string(path) is a match to a regex.
- debug_
assert_ fs_ read_ to_ string_ le - Assert a ::std::fs::read_to_string(path) value is less than or equal to another.
- debug_
assert_ fs_ read_ to_ string_ le_ x - Assert a ::std::fs::read_to_string(path) value is less than or equal to an expression.
- debug_
assert_ fs_ read_ to_ string_ lt - Assert a ::std::fs::read_to_string(path) value is less than another.
- debug_
assert_ fs_ read_ to_ string_ lt_ x - Assert a ::std::fs::read_to_string(path) value is less than an expression.
- debug_
assert_ fs_ read_ to_ string_ matches Deprecated - Assert a ::std::fs::read_to_string(path) is a match to a regex.
- debug_
assert_ fs_ read_ to_ string_ ne - Assert a ::std::fs::read_to_string(path) is not equal to another.
- debug_
assert_ fs_ read_ to_ string_ ne_ x - Assert a ::std::fs::read_to_string(path) is not equal to an expression.
- debug_
assert_ ge - Assert an expression is greater than or equal to another.
- debug_
assert_ gt - Assert an expression is greater than another.
- debug_
assert_ in - Assert an item is in a container.
- debug_
assert_ in_ delta - Assert a number is within delta of another.
- debug_
assert_ in_ epsilon - Assert a number is within epsilon of another.
- debug_
assert_ in_ range - Assert an item is in a range.
- debug_
assert_ infix - Assert a infix operator, such as assert_infix!(a == b).
- debug_
assert_ io_ read_ to_ string_ contains - Assert a ::std::io::Read read_to_string() contains a pattern.
- debug_
assert_ io_ read_ to_ string_ eq - Assert a ::std::io::Read read_to_string() value is equal to another.
- debug_
assert_ io_ read_ to_ string_ eq_ x - Assert a ::std::io::Read read_to_string() value is equal to an expression.
- debug_
assert_ io_ read_ to_ string_ ge - Assert a ::std::io::Read read_to_string() value is greater than or equal to another.
- debug_
assert_ io_ read_ to_ string_ ge_ x - Assert zzz.
- debug_
assert_ io_ read_ to_ string_ gt - Assert a ::std::io::Read read_to_string() value is greater than another.
- debug_
assert_ io_ read_ to_ string_ gt_ x - Assert a ::std::io::Read read_to_string() value is greater than an expression.
- debug_
assert_ io_ read_ to_ string_ is_ match - Assert a ::std::io::Read read_to_string() is a match to a regex.
- debug_
assert_ io_ read_ to_ string_ le - Assert a ::std::io::Read read_to_string() value is less than or equal to another.
- debug_
assert_ io_ read_ to_ string_ le_ x - Assert a ::std::io::Read read_to_string() value is less than or equal to an expression.
- debug_
assert_ io_ read_ to_ string_ lt - Assert a ::std::io::Read read_to_string() value is less than another.
- debug_
assert_ io_ read_ to_ string_ lt_ x - Assert a ::std::io::Read read_to_string() value is less than an expression.
- debug_
assert_ io_ read_ to_ string_ matches Deprecated - Assert a ::std::io::read_to_string(path) is a match to a regex.
- debug_
assert_ io_ read_ to_ string_ ne - Assert a ::std::io::Read read_to_string() is not equal to another.
- debug_
assert_ io_ read_ to_ string_ ne_ x - Assert a ::std::io::Read read_to_string() is not equal to an expression.
- debug_
assert_ is_ empty - Assert an expression (such as a string or array) is empty.
- debug_
assert_ is_ match - Assert a matcher is a match for an expression.
- debug_
assert_ iter_ eq - Assert an iterable is equal to another.
- debug_
assert_ iter_ ge - Assert an iterable is greater than or equal to another.
- debug_
assert_ iter_ gt - Assert an iterable is greater than another.
- debug_
assert_ iter_ le - Assert an iterable is less than or equal to another.
- debug_
assert_ iter_ lt - Assert an iterable is less than another.
- debug_
assert_ iter_ ne - Assert an iterable is not equal to another.
- debug_
assert_ le - Assert an expression is less than or equal to another.
- debug_
assert_ len_ eq - Assert a length is equal to another.
- debug_
assert_ len_ eq_ x - Assert a length is equal to an expression.
- debug_
assert_ len_ ge - Assert a length is greater than or equal to another.
- debug_
assert_ len_ ge_ x - Assert a length is greater than or equal to an expression.
- debug_
assert_ len_ gt - Assert a length is greater than another.
- debug_
assert_ len_ gt_ x - Assert a length is greater than an expression.
- debug_
assert_ len_ le - Assert a length is less than or equal to another.
- debug_
assert_ len_ le_ x - Assert a length is less than or equal to an expression.
- debug_
assert_ len_ lt - Assert a length is less than another.
- debug_
assert_ len_ lt_ x - Assert a length is less than an expression.
- debug_
assert_ len_ ne - Assert a length is not equal to another.
- debug_
assert_ len_ ne_ x - Assert a length is not equal to an expression.
- debug_
assert_ lt - Assert an expression is less than another.
- debug_
assert_ matches - Assert expression is Some.
- debug_
assert_ none - Assert expression is None.
- debug_
assert_ not_ contains - Assert an expression (such as a string) does not contain an expression (such as a substring).
- debug_
assert_ not_ empty - Assert an expression (such as a string or array) is not empty.
- debug_
assert_ not_ ends_ with - Assert an expression (such as a string) does not end with an expression (such as a string).
- debug_
assert_ not_ match - Assert an expression (such as a regex) is not a match for an expression (such as a string).
- debug_
assert_ not_ matches - Assert expression is Some.
- debug_
assert_ not_ starts_ with - Assert an expression (such as a string) does not start with an expression (such as a string).
- debug_
assert_ ok - Assert expression is Ok.
- debug_
assert_ ok_ eq - Assert two expressions are Ok and their values are equal.
- debug_
assert_ ok_ eq_ x - Assert an expression is Ok and its value is equal to an expression.
- debug_
assert_ ok_ ne - Assert two expressions are Ok and their values are not equal.
- debug_
assert_ ok_ ne_ x - Assert an expression is Ok and its value is not equal to an expression.
- debug_
assert_ option_ none Deprecated - Assert expression is None.
- debug_
assert_ option_ some Deprecated - Assert expression is Some.
- debug_
assert_ option_ some_ eq Deprecated - Assert two expressions are Some and their values are equal.
- debug_
assert_ option_ some_ ne Deprecated - Assert two expressions are Some and their values are not equal.
- debug_
assert_ pending - Assert an expression is Pending.
- debug_
assert_ poll_ pending Deprecated - Assert an expression is Pending.
- debug_
assert_ poll_ ready Deprecated - Assert poll.is_ready() is true.
- debug_
assert_ poll_ ready_ eq Deprecated - Assert two expressions are Ready(_) and their values are equal.
- debug_
assert_ poll_ ready_ ne Deprecated - Assert two expressions are Ready(_) and their values are not equal.
- debug_
assert_ program_ args_ stderr_ contains Deprecated - Assert a command (built with program and args) stderr into a string contains a given containee.
- debug_
assert_ program_ args_ stderr_ eq - Assert a command (built with program and args) stderr is equal to another.
- debug_
assert_ program_ args_ stderr_ eq_ x - Assert a command (built with program and args) stderr is equal to an expression.
- debug_
assert_ program_ args_ stderr_ ge - Assert a command (built with program and args) stderr greater than or equal to another.
- debug_
assert_ program_ args_ stderr_ ge_ x - Assert a command (built with program and args) stderr is greater than or equal to an expression.
- debug_
assert_ program_ args_ stderr_ gt - Assert a command (built with program and args) stderr is greater than another.
- debug_
assert_ program_ args_ stderr_ gt_ x - Assert a command (built with program and args) stderr is greater than an expression.
- debug_
assert_ program_ args_ stderr_ is_ match Deprecated - Assert a command (built with program and args) stderr into a string is a match to a regex.
- debug_
assert_ program_ args_ stderr_ le - Assert a command (built with program and args) stderr is less than or equal to another.
- debug_
assert_ program_ args_ stderr_ le_ x - Assert a command (built with program and args) stderr is less than or equal to an expression.
- debug_
assert_ program_ args_ stderr_ lt - Assert a command (built with program and args) stderr is less than another.
- debug_
assert_ program_ args_ stderr_ lt_ x - Assert a command (built with program and args) stderr is less than an expression.
- debug_
assert_ program_ args_ stderr_ ne - Assert a command (built with program and args) stderr is not equal to another.
- debug_
assert_ program_ args_ stderr_ ne_ x - Assert a command (built with program and args) stderr is not equal to an expression.
- debug_
assert_ program_ args_ stderr_ string_ contains - Assert a command (built with program and args) stderr into a string contains a given containee.
- debug_
assert_ program_ args_ stderr_ string_ is_ match - Assert a command (built with program and args) stderr into a string is a match to a regex.
- debug_
assert_ program_ args_ stdout_ contains Deprecated - Assert a command (built with program and args) stdout into a string contains a given containee.
- debug_
assert_ program_ args_ stdout_ eq - Assert a command (built with program and args) stdout is equal to another.
- debug_
assert_ program_ args_ stdout_ eq_ x - Assert a command (built with program and args) stdout is equal to an expression.
- debug_
assert_ program_ args_ stdout_ ge - Assert a command (built with program and args) stdout is greater than or equal to another.
- debug_
assert_ program_ args_ stdout_ ge_ x - Assert a command (built with program and args) stdout is greater than or equal to an expression.
- debug_
assert_ program_ args_ stdout_ gt - Assert a command (built with program and args) stdout is greater than another.
- debug_
assert_ program_ args_ stdout_ gt_ x - Assert a command (built with program and args) stdout is greater than an expression.
- debug_
assert_ program_ args_ stdout_ is_ match Deprecated - Assert a command (built with program and args) stdout into a string is a match to a regex.
- debug_
assert_ program_ args_ stdout_ le - Assert a command (built with program and args) stdout is less than or equal to another.
- debug_
assert_ program_ args_ stdout_ le_ x - Assert a command (built with program and args) stdout is less than or equal to an expression.
- debug_
assert_ program_ args_ stdout_ lt - Assert a command (built with program and args) stdout is less than another.
- debug_
assert_ program_ args_ stdout_ lt_ x - Assert a command (built with program and args) stdout is less than an expression.
- debug_
assert_ program_ args_ stdout_ ne - Assert a command (built with program and args) stdout is not equal to another.
- debug_
assert_ program_ args_ stdout_ ne_ x - Assert a command (built with program and args) stdout is not equal to an expression.
- debug_
assert_ program_ args_ stdout_ string_ contains - Assert a command (built with program and args) stdout into a string contains a given containee.
- debug_
assert_ program_ args_ stdout_ string_ is_ match - Assert a command (built with program and args) stdout into a string is a match to a regex.
- debug_
assert_ ready - Assert an expression is Ready.
- debug_
assert_ ready_ eq - Assert two expressions are Ready and their values are equal.
- debug_
assert_ ready_ eq_ x - Assert an expression is Ready and its value is equal to an expression.
- debug_
assert_ ready_ ne - Assert two expressions are Ready and their values are not equal.
- debug_
assert_ ready_ ne_ x - Assert an expression is Ready and its value is not equal to an expression.
- debug_
assert_ result_ err Deprecated - Assert expression is Err.
- debug_
assert_ result_ ok Deprecated - Assert expression is Ok.
- debug_
assert_ result_ ok_ eq Deprecated - Assert two expressions are Ok and their values are equal.
- debug_
assert_ result_ ok_ ne Deprecated - Assert two expressions are Ok and their values are not equal.
- debug_
assert_ set_ disjoint - Assert a set is disjoint with another.
- debug_
assert_ set_ eq - Assert a set is equal to another.
- debug_
assert_ set_ joint - Assert a set is joint with another.
- debug_
assert_ set_ ne - Assert a set is not equal to another.
- debug_
assert_ set_ subset - Assert a set is a subset of another.
- debug_
assert_ set_ superset - Assert a set is a superset of another.
- debug_
assert_ some - Assert expression is Some.
- debug_
assert_ some_ eq - Assert two expressions are Some and their values are equal.
- debug_
assert_ some_ eq_ x - Assert an expression is Some and its value is equal to an expression.
- debug_
assert_ some_ ne - Assert two expressions are Some and their values are not equal.
- debug_
assert_ some_ ne_ x - Assert an expression is Some and its value is not equal to an expression.
- debug_
assert_ starts_ with - Assert an expression (such as a string) starts with an expression (such as a string).
- debug_
assert_ status_ code_ value_ eq - Assert a status code value is equal to another.
- debug_
assert_ status_ code_ value_ eq_ x - Assert a status code value is equal to an expression.
- debug_
assert_ status_ code_ value_ ge - Assert a status code value is greater than or equal to another.
- debug_
assert_ status_ code_ value_ ge_ x - Assert a status code value is greater than or equal to an expression.
- debug_
assert_ status_ code_ value_ gt - Assert a status code value is greater than another.
- debug_
assert_ status_ code_ value_ gt_ x - Assert a status code value is greater than an expression.
- debug_
assert_ status_ code_ value_ le - Assert a status code value is less than or equal to another.
- debug_
assert_ status_ code_ value_ le_ x - Assert a status code value is less than or equal to an expression.
- debug_
assert_ status_ code_ value_ lt - Assert a status code value is less than another.
- debug_
assert_ status_ code_ value_ lt_ x - Assert a status code value is less than an expression.
- debug_
assert_ status_ code_ value_ ne - Assert a status code value is not equal to another.
- debug_
assert_ status_ code_ value_ ne_ x - Assert a status code value is not equal to another.
- debug_
assert_ status_ success - Assert a status is a success.
- debug_
assert_ status_ success_ false - Assert a status is a failure.
- debug_
assert_ success - Assert a success method is true.
- debug_
assert_ success_ false - Assert a failure method is true.