public void KeyValueNode_returns_leaves_nodes(KeyValueNode <string, int> root) { // ACT var result = root.Leaves(); // ASSERT Assert.Equal(new[] { "leftLeaf", "leftRightLeaf", "rightRightLeaf" }, result.Select(n => n.Key)); }
public void KeyValueNode_returns_leaves_nodes(KeyValueNode <string, int> root) { // ACT var result = root.Leaves(); // ASSERT Assert.Equal(new[] { "leftLeaf", "leftRightLeaf", "rightRightLeaf" }, result.Select(n => n.Key)); }