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

Function test_get_weights_ffd

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

Source from the content-addressed store, hash-verified

22
23#[test]
24fn test_get_weights_ffd() {
25 let weights = get_weights_ffd(0.9, 1e-3, 100);
26 assert_eq!(weights.len(), 12);
27 assert_eq!(*weights.last().unwrap(), 1.0);
28}
29
30#[test]
31fn test_frac_diff() {

Callers

nothing calls this directly

Calls 1

get_weights_ffdFunction · 0.85

Tested by

no test coverage detected