public void UnaClaseConListaSinSet() { const int ELEMENTOS = 10; Assert.IsTrue(TestClases(() => { ClaseConListaSinSet clase = new ClaseConListaSinSet(); for (int i = 0; i < ELEMENTOS; i++) { clase.Lista.Add(i + ":" + DateTime.Now.Ticks); } return(clase); })); }
public override bool Equals(object obj) { ClaseConListaSinSet other = obj as ClaseConListaSinSet; return(other == null ? false : other.Lista.Equals(other.Lista)); }