public void AssertTwoCreneauNotEqualsAreNotEquals() { var duration = 10; _creneau1 = new Creneau(DateTime.Now, duration); _creneau2 = new Creneau(DateTime.Now, duration); Assert.False(_creneau1.Equals(_creneau2)); }
public void AssertTwoCreneauEqualsAreEquals() { DateTime dateTime = DateTime.Now; var duration = 10; _creneau1 = new Creneau(dateTime, duration); _creneau2 = new Creneau(dateTime, duration); Assert.True(_creneau1.Equals(_creneau2)); }