public void equals_positive_with_both_being_null() { var milestone1 = new Milestone(); var milestone2 = new Milestone(); milestone1.ShouldEqual(milestone2); milestone2.ShouldEqual(milestone1); }
public void equals_positive_with_matching_times() { var time = DateTime.Today.AddHours(8); var milestone1 = new Milestone(time); var milestone2 = new Milestone(time); milestone1.ShouldEqual(milestone2); milestone2.ShouldEqual(milestone1); }