(arr: &[f64], enc: &[(f64, char)])
| 130 | fn test_tick_rule_encoding() { |
| 131 | assert!(encode_tick_rule_array(&[-1, 1, 0, 20000000]).is_err()); |
| 132 | let enc = encode_tick_rule_array(&[-1, 1, 0, 0]).unwrap(); |
| 133 | assert_eq!(enc, "bacc"); |
| 134 | } |
| 135 | |
| 136 | #[test] |
| 137 | fn test_entropy_calculations() { |
no test coverage detected