public void WarewolfAtomComparer_Equals_YisNull_ReturnFalse() { var a = DataStorage.WarewolfAtom.NewDataString("a"); var comparer = new WarewolfAtomComparer(); Assert.IsFalse(comparer.Equals(null, a)); }
public void WarewolfAtomComparer_Equals_ReturnTrue() { var a = DataStorage.WarewolfAtom.NewDataString("a"); var b = DataStorage.WarewolfAtom.NewDataString("a"); var comparer = new WarewolfAtomComparer(); Assert.IsTrue(comparer.Equals(a, b)); }
public void WarewolfAtomComparer_Equals_BothNull_ReturnTrue() { var comparer = new WarewolfAtomComparer(); Assert.IsTrue(comparer.Equals(null, null)); }