public void Equals_IsNotEqual_Fails() { EmployeeID employeeId1 = new EmployeeID(06, 12, 31); EmployeeID employeeId2 = new EmployeeID(06, 12, 12); Expect(employeeId1.Equals(employeeId2), Is.False); }
public void Equals_IsEqual_Passes() { EmployeeID employeeId1 = new EmployeeID(06, 12, 31); EmployeeID employeeId2 = new EmployeeID(06, 12, 31); Expect(employeeId1.Equals(employeeId2), Is.True); }
public void Equals_InputIsNull_Fails() { EmployeeID employeeId1 = new EmployeeID(06, 12, 31); Expect(employeeId1.Equals(null), Is.False); }