public void checkForMultipleSystemAndIncreasingSequence() { string[] systemNames = new string[] { "stage_1", "stage_2", "stage_1", "stage_2" }; int[] stepNumbers = new int[] { 1, 2, 9, 10 }; checkLaunchSequence cLS = new checkLaunchSequence(); bool expected = cLS.launchSequenceChecker(systemNames, stepNumbers); Assert.AreEqual(expected, true); }
public void checkIfIncreasingSequenceForASystemReturnsTrue() { string[] systemNames = new string[] { "stage_1", "stage_1" }; int[] stepNumbers = new int[] { 1, 2 }; checkLaunchSequence cLS = new checkLaunchSequence(); var expected = cLS.launchSequenceChecker(systemNames, stepNumbers); Assert.AreEqual(expected, true); }
public void checkIfEmptyArrayInputReturnsCorrectReturnDatatype() { string[] systemNames = new string[] { }; int[] stepNumbers = new int[] { }; checkLaunchSequence cLS = new checkLaunchSequence(); var expected = cLS.launchSequenceChecker(systemNames, stepNumbers); Assert.AreEqual(expected, true); }