Assert.AreEqual dosn't works correctly for IEnumerable targets
Bug #1186689 reported by
Sergey Limonov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Framework |
New
|
Undecided
|
Unassigned |
Bug Description
Hi!
I've a class that implements IEnumerable interface and overrides the Eqauls(object obj) method. For this class Assert.
I investigate this issue by source code. I see that method
private bool AreEqual(object x, object y, EnumerableRecur
defined in NUnitEqualityCo
I think it will be better if any special comparison will be called after calling Equals and last one returns false value.
Thanks,
Sergey
affects: | nunitv2 → nunit-3.0 |
To post a comment you must log in.
I've used NUnit 2.6.2