use ndhistogram::{ axis::{Axis, Uniform}, ndhistogram, value::WeightedMean, Axes, AxesTuple, Fill, FillWith, FillWithWeighted, Histogram, }; #[test] fn test_trait_object_histogram() { let datum = Box::new(ndhistogram!(Uniform::new(10, -5.0, 5.0); i32)); let _vec: Vec>> = vec![datum]; } #[test] fn test_trait_object_fill() { let datum = Box::new(0.0); let _vec: Vec> = vec![datum]; } #[test] fn test_trait_object_fill_with() { let datum = Box::new(0.0); let _vec: Vec>> = vec![datum]; } #[test] fn test_trait_object_fill_with_weighted() { let datum = Box::::default(); let _vec: Vec>> = vec![datum]; } #[test] fn test_trait_object_axis() { let datum = Box::new(Uniform::new(10, -5.0, 5.0)); let _vec: Vec>> = vec![datum]; } #[test] fn test_trait_object_axes() { let datum: Box> = Box::new((Uniform::new(10, -5.0, 5.0),).into()); let _vec: Vec>> = vec![datum]; }