Registry / testing / cool-asserts

cool-asserts

JSON →
library2.0.4rscratesunverified

A collection of useful testing assertions and utilities.

# Cargo.toml [dependencies] cool_asserts = "2.0.4"
INSTALL
IMPORT
SIG · COOL-ASSERTS
C
cool-asserts
testingrustv2.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

assert_matches
use cool_asserts::assert_matches;

Assert that a value matches a pattern.

use cool_asserts::assert_matches; fn main() { let value = Some(42); assert_matches!(value, Some(42)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
cool-asserts — cargo add cool-asserts · libregistry