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

@@ -44,8 +44,8 @@ public sealed class GeometryStageTests
{
using var ramp = new ImageBuffer(64, 64, 1);
for (var y = 0; y < 64; y++)
for (var x = 0; x < 64; x++)
ramp[0, x, y] = 0.01f * x + 0.005f * y;
for (var x = 0; x < 64; x++)
ramp[0, x, y] = 0.01f * x + 0.005f * y;
using var output = new ImageBuffer(64, 64, 1);
var map = Affine2D.About(Affine2D.Similarity(0.8, 0.2, 0, 0), 32, 32);
GeometryStage.Warp(ramp, output, map);
@@ -110,13 +110,13 @@ public sealed class GeometryStageTests
{
using var checker = new ImageBuffer(256, 256, 1);
for (var y = 0; y < 256; y++)
for (var x = 0; x < 256; x++)
checker[0, x, y] = (x + y) % 2 == 0 ? 1f : 0f;
for (var x = 0; x < 256; x++)
checker[0, x, y] = (x + y) % 2 == 0 ? 1f : 0f;
using var small = GeometryStage.Apply(checker, new GeometrySettings { OutputWidth = 64 });
Assert.Equal(64, small.Height);
for (var y = 2; y < 62; y++)
for (var x = 2; x < 62; x++)
Assert.Approximately(0.5, small[0, x, y], 0.02);
for (var x = 2; x < 62; x++)
Assert.Approximately(0.5, small[0, x, y], 0.02);
}
[Test]