示例#1
0
        public void TestPort_Read_ShouldReturn_LOW()
        {
            var p = new TestPort(BinaryState.Low);

            Assert.AreEqual(BinaryState.Low, p.Read());
        }
示例#2
0
        public void TestPort_Read_ShouldReturn_High()
        {
            var p = new TestPort(BinaryState.High);

            Assert.AreEqual(BinaryState.High, p.Read());
        }