public void IsSatisfied_Empty_ReturnsTrue()
        {
            const string statement = "";

            var result = _target.IsSatisfied(statement);

            Assert.That(result, Is.True);
        }
Exemplo n.º 2
0
        public void IsSatisfied_EndModule_ReturnsTrue()
        {
            var statement = "endmodule";

            var result = _target.IsSatisfied(statement);

            Assert.That(result, Is.True);
        }
Exemplo n.º 3
0
        public void IsSatisfied_FirstTokenIsWire_ReturnsTrue()
        {
            const string statement = "wire some bla bla";

            var result = _target.IsSatisfied(statement);

            Assert.That(result, Is.True);
        }
Exemplo n.º 4
0
        public void IsSatisfied_FirstTokenIsModule_ReturnsTrue()
        {
            var statement = "module x_lut4_0x5500 ( i0, i3, o );";

            var result = _target.IsSatisfied(statement);

            Assert.That(result, Is.True);
        }
Exemplo n.º 5
0
        public void IsSatisfied_MetaStatemnt_ReturnsTrue(string statement)
        {
            var result = _target.IsSatisfied(statement);

            Assert.That(result, Is.True);
        }
Exemplo n.º 6
0
        public void IsSatisfied_FirstTokenIsError_ReturnsTrue(string statement)
        {
            var result = _target.IsSatisfied(statement);

            Assert.That(result, Is.True);
        }