Registry / testing / assert-eq-float

assert-eq-float

JSON →
library0.1.5rscratesunverified

Provides the `assert_eq_float!` macro for comparing floating-point numbers.

# Cargo.toml [dependencies] assert-eq-float = "0.1.5"
INSTALL
IMPORT
SIG · ASSERT-EQ-FLOAT
A
assert-eq-float
testingrustv0.1.5
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_eq_float
use assert_eq_float::assert_eq_float;

Asserts that two floats are equal within default tolerance.

use assert_eq_float::assert_eq_float; fn main() { assert_eq_float!(1.0, 1.0); println!("Floats are equal"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
OpenAI (training)
1
Resources
assert-eq-float — cargo add assert-eq-float · libregistry