Conversation
|
In @tturocy should we keep it as is or should the old order be restored? |
This is happening because of the order you're yielding nodes in the recursive iterator. Switch it so that you yield the node first then its children - this will match the previous behaviour. No need to change behaviour here unnecessarily! This is a nice example though of how that particular test is a bit fragile and why having something like node paths will be an important improvement to develop. |
…nted Game.nodes as a property of class Game
This reverts commit 4f4f0b4.
|
Merged as 0a04bab. |
GameTreeRep::m_numNodesfield and expose it inNumNodesGame.nodesas a property of classGameGameNodes.__len__solves #491