MCPcopy Create free account
hub / github.com/Open-Quant/openquant / test_all_inputs_none

Function test_all_inputs_none

crates/openquant/tests/cla.rs:315–319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313 assert_eq!(cleaned.len(), prices.data.ncols());
314 assert_weights_basic(&cleaned, true);
315 }
316}
317
318fn two_assets() -> (DMatrix<f64>, DMatrix<f64>) {
319 let mu = DMatrix::from_column_slice(2, 1, &[0.10, 0.05]);
320 let cov = DMatrix::from_row_slice(2, 2, &[0.04, 0.0, 0.0, 0.01]);
321 (mu, cov)
322}

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected