public void Parse_HierarchyPath_from_string_with_mixed_slashes_and_backslashes() { // ARRANGE TreesorNodePath result = TreesorNodePath.Parse(@"a\b/c"); // ASSERT Assert.AreEqual(HierarchyPath.Create("a", "b", "c"), result.HierarchyPath); }
public void Parse_HierarchyPath_from_string_with_slashes() { // ARRANGE TreesorNodePath result = TreesorNodePath.Parse("a/b"); // ASSERT Assert.AreEqual(HierarchyPath.Create("a", "b"), result.HierarchyPath); }