test: log solar and LOWESS deviations, cover domain-frame analysis
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
3 files changed
+29
-14
No files matched your search
@@ -59,6 +59,11 @@ public sealed class LightAnalyzerTests(TestContext context)
|
||||
Assert.Equal(FindingSeverity.Warning, gaps.Severity);
|
||||
Assert.Equal(3, (int)gaps.Arguments[0]);
|
||||
Assert.Approximately(7210, (double)gaps.Arguments[1], 1e-9);
|
||||
|
||||
// Domain frames (no camera or GPS fields) give the same timing and exposure analysis.
|
||||
var fromFrames = LightAnalyzer.Analyze(Timeline().Frames);
|
||||
Assert.SequenceEqual(report.Intervals, fromFrames.Intervals);
|
||||
Assert.SequenceEqual(report.ExposureSteps.Select(s => s.Index), fromFrames.ExposureSteps.Select(s => s.Index));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user