public void TestEqualsObject(AbstractTimeInterval subject, object other) { bool result = subject.Equals(other); // System.out.println(subject + ".Equals(" + other + ") == " + result); //if (other is ITimeInterval) { //assertInvariants((AbstractTimeInterval)other); //} }
protected void AddSubject(AbstractTimeInterval subject) { m_Subjects.Add(subject); }
/// <summary> /// Compare to null without using the overridden operator. /// </summary> private static bool SaveIsNotNull(AbstractTimeInterval ati) { object atiAsObject = ati; return atiAsObject != null; }