Tests cases for various tree layout algorithms
Checks a tree layout produces results consistent with a known tree ordering
npm install tree-layout-tester
var layoutTester =//Your tree layoutvar myLayout = // ... something
Creates a tree with index
v and the given left/right subtrees
Tests the layout against the tree given by root. tap is a pointer to a tap object.
(c) 2013 Mikola Lysenko. MIT License