using Schaad.OpenData.Watercraft.Models; namespace Schaad.OpenData.Tests; public static class WatercraftTestData { public static Vessel Vessel( string location = "Arbon", string? type = "Motorschiff", double? lengthCm = 650, double? powerKw = 100, string? fuel = "Benzin", double? sailAreaM2 = 0, string? emission = null, string? specialUse = null, string? propulsion = "Aussenbordmotor") => new(location, type, specialUse, lengthCm, 240, sailAreaM2, propulsion, powerKw is null ? null : 1, powerKw, fuel, emission); public static VesselYear Year(int year, params Vessel[] vessels) => new(year, $"djs-kpo-{year}", new DateTimeOffset(year + 1, 4, 1, 0, 0, 0, TimeSpan.Zero), new DateOnly(year, 12, 31), vessels); }