removed old test for histograms

This commit is contained in:
Daniel Bauer
2018-10-21 14:21:55 +02:00
parent 29d20ae3b3
commit a80b30ceca

View File

@@ -178,23 +178,7 @@ mod tests {
false // cyclic
)
}
#[test]
#[ignore] // TODO
fn get_bin_count() {
let h = build_hist();
let expected = vec![None, Some(1.0), Some(1.0), Some(3.0), Some(5.0), Some(12.0), None];
let test_offset = 4;
for i in 4..10 {
match expected[i-test_offset] {
Some(x) => assert_eq!(x, h.bins[i]),
None => assert_eq!(0.0, h.bins[i])
}
}
}
#[test]
fn calc_bias() {
let ds = build_hist_set(); // k = 10