예제 #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());
        }