public void IfOrdered_ReturnTrue() { string[] test_names = new string[] { "stage1", "stage1" }; int[] test_numbers = new int[] { 1, 2 }; SequenceLauncher _sequenceLauncher = new SequenceLauncher(); var actual = _sequenceLauncher.LaunchSequenceChecker(test_names, test_numbers); Assert.AreEqual(actual, true); }
public void CheckMultiSystemNamesForDesOrder() { string[] test_names = new string[] { "stage1", "stage1", "stage2" }; int[] test_numbers = new int[] { 2, 1, 5 }; SequenceLauncher _sequenceLauncher = new SequenceLauncher(); var actual = _sequenceLauncher.LaunchSequenceChecker(test_names, test_numbers); Assert.AreEqual(actual, false); }
public void IfEmptyArray_ReturnTrue() { string[] test_names = new string[] { }; int[] test_numbers = new int[] { }; SequenceLauncher _sequenceLauncher = new SequenceLauncher(); var actual = _sequenceLauncher.LaunchSequenceChecker(test_names, test_numbers); Assert.AreEqual(actual, true); }