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

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

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