Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ assert_float_eq
Function
assert_float_eq
crates/openshell-sandbox/src/activity_aggregator.rs:158–160 ·
view source on GitHub ↗
(actual: f64, expected: f64)
Source
from the content-addressed store, hash-verified
156
use super::*;
157
158
fn assert_float_eq(actual: f64, expected: f64) {
159
assert!((actual - expected).abs() <= f64::EPSILON);
160
}
161
162
#[test]
163
fn deny_group_sanitization_uses_allowlist() {
Callers
1
denial_rate_handles_zero_and_clamps
Function · 0.70
Calls
no outgoing calls
Tested by
1
denial_rate_handles_zero_and_clamps
Function · 0.56