Improve FAQ & video rendering, tighten homepage and CSS
This commit is contained in:
parent
05a1f316e1
commit
c69bb0d614
48 changed files with 4689 additions and 1077 deletions
|
|
@ -1227,7 +1227,7 @@ mod tests {
|
|||
|
||||
let mid_value = 50.0;
|
||||
let bin = hist.bin_for_value(mid_value);
|
||||
assert!(bin >= 1 && bin <= 8);
|
||||
assert!((1..=8).contains(&bin));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -1276,7 +1276,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn count_skips_nan() {
|
||||
let values = vec![1.0_f32, f32::NAN, 2.0, f32::NAN, 3.0];
|
||||
let values = [1.0_f32, f32::NAN, 2.0, f32::NAN, 3.0];
|
||||
let count = values.iter().filter(|v| v.is_finite()).count();
|
||||
assert_eq!(count, 3);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue