public void step_count_of_a_step_with_child_leaves_and_grand_children() { Step step = new Step().WithChildren("a", new Step(), new Step(), new Step().WithChildren("b", new Step()).WithChildren("c", new Step(), new Step())); step.StepCount().ShouldEqual(7); }
public void step_count_of_a_step_with_child_leaves() { Step step = new Step().WithChildren("a", new Step(), new Step(), new Step()); step.StepCount().ShouldEqual(4); }