public void EqualsShouldWorkDifferentValue() { SymbolicName name1 = SymbolicName.Of("a"); SymbolicName name2 = SymbolicName.Of("b"); name1.ShouldNotBe(name2); }
public void EqualsShouldWorkSameValue() { SymbolicName name1 = SymbolicName.Unresolved(); SymbolicName name2 = name1; SymbolicName name3 = SymbolicName.Unresolved(); name1.ShouldBeEquivalentTo(name2); name1.ShouldNotBe(name3); name2.ShouldNotBe(name3); }
public void ShouldNotEqualResolved() { SymbolicName name1 = SymbolicName.Unresolved(); name1.ShouldNotBe(SymbolicName.Of("a")); }