diff --git a/server/src/atlas/heightmap.rs b/server/src/atlas/heightmap.rs index 9646ace52..852155268 100644 --- a/server/src/atlas/heightmap.rs +++ b/server/src/atlas/heightmap.rs @@ -304,7 +304,10 @@ mod tests { let same = hm.downsample(2, 2); assert_eq!((same.width, same.height), (2, 2)); - assert_eq!(same.data, hm.data, "equal-size downsample must be an identity clone"); + assert_eq!( + same.data, hm.data, + "equal-size downsample must be an identity clone" + ); let larger = hm.downsample(8, 8); assert_eq!( @@ -313,7 +316,10 @@ mod tests { "downsample must early-return the original dims (no upsampling) when the \ target is larger than the source" ); - assert_eq!(larger.data, hm.data, "upsample request must be an identity clone"); + assert_eq!( + larger.data, hm.data, + "upsample request must be an identity clone" + ); } #[test]