常用方法
常用方法
常用方法
常用方法
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); }