コード例 #1
0
        public void GivenTheAWGHasTheOptionOrOption(string option1, string option2, string awgNumber)
        {
            IAWG awg = AwgSetupSteps.GetAWG(awgNumber);

            bool result1 = _awgStatusGroup.AWGOptionFinder(awg, option1);
            bool result2 = _awgStatusGroup.AWGOptionFinder(awg, option2);

            if (!result1 & !result2)
            {
                Assert.Inconclusive("The requested AWG does not have either option " + option1 + " or option " + option2 + ", test skipped"); //Did not find either desired option
            }
        }