Searched refs:expected_distr (Results 1 – 1 of 1) sorted by relevance
385 let expected_distr = WeightedIndex::new(expected_weights.to_vec()).unwrap(); in test_update_weights() localVariable387 assert_eq!(distr.total_weight, expected_distr.total_weight); in test_update_weights()388 assert_eq!(distr.cumulative_weights, expected_distr.cumulative_weights); in test_update_weights()