assert_that

Macro assert_that 

Source
macro_rules! assert_that {
    ($value:expr) => { ... };
}
Expand description

Creating fluent assertion for the specified type. Depending on the specified type, there are different assertion methods available.

ยงExamples

assert_that!("awesome").is_equal_to("awesome");
assert_that!(3.14).is_smaller_than(3.15);
assert_that!(true).is_true();