Exemple #1
0
        public async ValueTask HierarchyTreeWorksAsync_TwoLevel()
        {
            var           hierarchy = GetTypicalExample();
            HierarchyTree tree      = await HierarchyTree.ConstructAsync(hierarchy);

            string result = tree.ToString();

            result.Should().Be(twoLevelExpected);
        }