fitSharp
Tree Values

We can use HTML lists to specify tree values. The class representing the tree implements the fitlibrary.tree.Tree interface.
using fitlibrary.tree;

public class SampleDomain {
    public Tree MakeTree(string[] leaves) {...}
}

when test is
story test fixture
checktest result
sample domain

checkmake treea,b
  • a
  • b
checkmake treeblank

sample domain

checkmake treea,b
  • a
  • b
checkmake treeblank

sample domain

checkmake treea,b
  • a
  • b
checkmake treeblank
then result is
sample domain

checkmake treea,b
  • a
  • b
checkmake treeblank
© Copyright Syterra Software Inc. All rights reserved.