style(simulation): gate bounce — cargo fmt
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user