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

Function test_get_weights

crates/openquant/tests/fracdiff.rs:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16#[test]
17fn test_get_weights() {
18 let weights = get_weights(0.9, 100);
19 assert_eq!(weights.len(), 100);
20 assert_eq!(*weights.last().unwrap(), 1.0);
21}
22
23#[test]
24fn test_get_weights_ffd() {

Callers

nothing calls this directly

Calls 1

get_weightsFunction · 0.85

Tested by

no test coverage detected