style: apply whitespace formatting to motion tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 10:02:33 +00:00
1 parent 63d1855f82
commit ec6e43d531
6 files changed
+31 -31

No files matched your search

@@ -22,8 +22,8 @@ public sealed class PlaneOpsTests
{
var window = new List<float>();
for (var dy = -radius; dy <= radius; dy++)
for (var dx = -radius; dx <= radius; dx++)
window.Add(source[int.Clamp(y + dy, 0, Height - 1) * Width + int.Clamp(x + dx, 0, Width - 1)]);
for (var dx = -radius; dx <= radius; dx++)
window.Add(source[int.Clamp(y + dy, 0, Height - 1) * Width + int.Clamp(x + dx, 0, Width - 1)]);
window.Sort();
Assert.Equal(window[window.Count / 2], output[y * Width + x]);
}
@@ -44,8 +44,8 @@ public sealed class PlaneOpsTests
{
double sum = 0;
for (var dy = -radius; dy <= radius; dy++)
for (var dx = -radius; dx <= radius; dx++)
sum += source[int.Clamp(y + dy, 0, Height - 1) * Width + int.Clamp(x + dx, 0, Width - 1)];
for (var dx = -radius; dx <= radius; dx++)
sum += source[int.Clamp(y + dy, 0, Height - 1) * Width + int.Clamp(x + dx, 0, Width - 1)];
Assert.Approximately(sum / ((2 * radius + 1) * (2 * radius + 1)), output[y * Width + x], 1e-5);
}
}