public Performance(DateTime dateAndHour, int part, PerformanceAvailability availability) { DateAndHour = dateAndHour; Part = part; Availability = availability; }
private static void CheckPerformanceValues(Performance performance, DateTime dateAndHour, int part, PerformanceAvailability availability) { Assert.Equal(dateAndHour, performance.DateAndHour); Assert.Equal(part, performance.Part); Assert.Equal(availability, performance.Availability); }