The fundamental treemap algorithm doesn't demand pygame in the least: it is possible to Verify your operate by simply instantiating a FileSystemTree object, calling update_rectangles on it, then contacting get_rectangles and examining the list of rectangles returned. Write doctests and pytests to the strategies you produced in tm_trees.py. Remember that http://spencer6912l.alltdesign.com/a-secret-weapon-for-32860773