public void OneNullEquals() { AirlineCompany x = new AirlineCompany(); AirlineCompany y = null; x.ID = 1; Assert.AreEqual(false, x.Equals(y)); }
public void SameIDEquals() { AirlineCompany x = new AirlineCompany(); AirlineCompany y = new AirlineCompany(); x.ID = 1; y.ID = 1; Assert.AreEqual(true, x.Equals(y)); }
public void DifferentIDEqulas() { AirlineCompany x = new AirlineCompany(); AirlineCompany y = new AirlineCompany(); x.ID = 1; y.ID = 2; Assert.AreEqual(false, x.Equals(y)); }