Пример #1
0
        //Kavitha: 01/17/2013 Corrected the default statement
        /// <summary>
        ///
        /// </summary>
        /// <param name="awg"></param>
        /// <param name="clockNumber"></param>
        /// <param name="expectedValue"></param>
        public void ClockPhaseAdjustShouldBe(IAWG awg, string clockNumber, string expectedValue)
        {
            string clockPhaseAdjust    = awg.ClockPhaseAdjust(clockNumber);
            string possibleErrorString = "Checking the phase adjust for clock " + clockNumber;

            Assert.AreEqual(Convert.ToDouble(expectedValue), Convert.ToDouble(clockPhaseAdjust), possibleErrorString);
        }