public bool Match(Atom atom) { return atom != null && this.name == atom.Name; }
public void MatchWithAnotherAtom() { Atom atom = new Atom("one"); Atom atom2 = new Atom("two"); Assert.IsFalse(atom.Match(atom2)); }