Match() public method

public Match ( Atom atom ) : bool
atom Atom
return bool
Ejemplo n.º 1
0
        public void MatchWithAnotherAtom()
        {
            Atom atom = new Atom("one");
            Atom atom2 = new Atom("two");

            Assert.IsFalse(atom.Match(atom2));
        }
Ejemplo n.º 2
0
        public void MatchWithNull()
        {
            Atom atom = new Atom("one");

            Assert.IsFalse(atom.Match(null));
        }