# Comparisons: cool_asserts The `cool_assert` crate is a collection of useful assertions and other utilities for writing tests in Rust. The most popular macro in the crate is `assert_matches`. ## Macros * assert_matches: Assert that the value of an expression matches a given pattern. * assert_panics: Assert that an expression panics. * assertion_failure: Panic with an assertion failure message. ## Functions * get_panic_message: Get the panic message as a &str, if available.