Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

assert_precise

Asserts that a result matches an expected value within absolute precision.

Use Option::None for default precision, or Option::Some(value) for custom.

Fully qualified path: cairo_fp::f64::test::helpers::assert_precise

fn assert_precise(result: Fixed, expected: felt252, msg: felt252, custom_precision: Option<u64>)