public void Then_WeHaveNewLargeTestResults(IReadOnlyCollection <StepLargeTestResultRow> expectedRows) { SetCurrentCulture(); // compare with data from the system var testData = LargeTestResult.GetTestData(); var actualRows = StepLargeTestResultRow.Convert(testData); // call the comparator to compare our two sets expectedRows.CompareTo(actualRows); expectedRows.OrderedCompareTo(actualRows); }
public void Then_WeHaveOldLargeTestResults(Table table) { SetCurrentCulture(); // compare with data from the system var actualRows = LargeTestResult.GetTestData(); // does not convert the integers! // ReSharper disable once UnusedVariable var expectedRows = table.CreateSet <StepLargeTestResultRow>().ToList(); table.CompareToSet(actualRows); }