Beispiel #1
0
        public void XOR_Constructor()
        {
            var xor = new XOR("test");

            Assert.AreEqual(VoltageSignal.LOW, xor.V.V, "Constructor: Voltage");
            Assert.AreEqual(VoltageSignal.LOW, xor.A.V, "Constructor: A");
            Assert.AreEqual(VoltageSignal.LOW, xor.B.V, "Constructor: B");
            Assert.AreEqual(VoltageSignal.LOW, xor.O.V, "Constructor: O");
            Assert.AreEqual("LOW", xor.ToString(), "Constructor: ToString()");
        }