63f41a6
1
2
3
4
pub fn dims_match(width: usize, height: usize, len: usize) -> bool { width * height == len }