public void PruneTest() { var ruby = new CompositeTest() { Name = "Ruby" }; actual.RemoveItem("treasure / gems / rubies", ruby); Assert.That(actual.Count, Is.EqualTo(1)); }
public void CompositeTest() { actual = new CompositeTest() { Name = "Inventory" }; actual.AddItem("treasure/gems/rubies", new CompositeTest() { Name = "Ruby" }); actual.AddItem("treasure/coins", new CompositeTest() { Name = "Doubloon" }); }