public static void OrderIsStable() { var orderer = new DefaultTestCaseOrderer(); var result1 = orderer.OrderTestCases(TestCases); var result2 = orderer.OrderTestCases(TestCases); var result3 = orderer.OrderTestCases(TestCases); Assert.Equal(result1, result2); Assert.Equal(result2, result3); }
public static void OrderIsUnpredictable() { var orderer = new DefaultTestCaseOrderer(); var result = orderer.OrderTestCases(TestCases); Assert.NotEqual(TestCases, result); }