()
| 15 | |
| 16 | #[test] |
| 17 | fn 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] |
| 24 | fn test_get_weights_ffd() { |
nothing calls this directly
no test coverage detected