using Chronos.Core.Analysis.Deep;
namespace Chronos.Server.Tests;
/// Deep-analysis reports as a server keeps them in .chronos/analysis.json.
internal static class Reports
{
/// A report of frames that found unreadable and measured nothing else.
public static DeepAnalysisReport Minimal(int frames, params int[] undecodable) => new()
{
FrameCount = frames,
Flicker = new FlickerSummary(0, 0, null, 0, 0, 1),
Exposure = new ExposureSummary(0, 0, null, null, 0, []),
WhiteBalance = new WhiteBalanceSummary(0, 0, null, null),
Shake = new ShakeSummary(0, 0, 0, 0, false, 0),
Motion = new MotionSummary(0, null, null, null),
Sky = new SkySummary(DayNight.Unknown, 0, 0, 0, null, false, null),
Issues = new FrameIssues(undecodable, [], [], [], []),
};
}