in reply to Do you consider these different or the same?
When I use is_deeply() in tests, I'm usually taking one datastructure that was returned by the code being tested, and another that I built that represents what I expect the code to return. Under that usage, is_deeply() needs to see both the posted datastructures as equal.
I suspect that the various opinions on this issue will reflect how people use is_deeply() in practice.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Do you consider these different or the same?
by demerphq (Chancellor) on Jul 01, 2005 at 12:51 UTC | |
by hardburn (Abbot) on Jul 01, 2005 at 14:09 UTC |