MCPcopy Create free account
hub / github.com/MarcusRainbow/QuantMath / assert_approx_eq_reports

Function assert_approx_eq_reports

src/facade/mod.rs:170–181  ·  view source on GitHub ↗

Checks that the two supplied JSON strings are sufficiently close, given the tolerances. The strings should contain vectors of reports.

(reports: &[BoxReport], expected: &[BoxReport], 
    tol_price: f64, tol_ccy_risk: f64, tol_unit_risk: f64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls

Tested by 1