public void GivenARelease_WhenComparedToAnIdenticalRelease_ThenTheyAreEqual() { ReleaseData ad1 = new ReleaseData("releaseName"); ReleaseData ad2 = new ReleaseData("releaseName"); Assert.IsTrue(ad1.Equals(ad2)); }
public void GivenARelease_WhenComparedToAReleaseWithDifferentNameButIdenticalType_ThenTheyAreNotEqual() { ReleaseData ad1 = new ReleaseData("releaseName1", "demo"); ReleaseData ad2 = new ReleaseData("releaseName2", "demo"); Assert.IsFalse(ad1.Equals(ad2)); }