Commit Graph

3 Commits

Author SHA1 Message Date
Neil Fraser
775ce34eac Simplify workspace.getBlocksBoundingBox
Previously it returned x,y,width,height.  Returning top,bottom,left,right results in simpler code, both in this function and in downstream callers.

This commit makes the minumum change to the metrics_test.  I’m happy to change the test’s data if that makes more sense.
2019-06-07 10:32:57 -07:00
Rachel Fenichel
e11ec48ed3 Break tests out into individual cases 2018-04-11 13:35:54 -07:00
Rachel Fenichel
9f07d04709 Simple tests for getContentDimensions 2018-04-09 11:28:18 -07:00