示例#1
0
        public void ClockOutputStateShouldBe(IAWG awg, string clockNumber, ClockOutputState expectedValue)
        {
            string interpretiveValue = expectedValue == ClockOutputState.On ? ClockOutputStateOnSyntax : ClockOutputStateOffSyntax;

            string clockOutputState    = awg.ClockOutputState(clockNumber);
            string possibleErrorString = "Checking the output state for clock " + clockNumber;

            Assert.AreEqual(interpretiveValue, clockOutputState, possibleErrorString);
        }