public void grid(float width, float height, GridDefinition grid, GridLayoutView <Size>[] items, Rectangle[] expected) { Assert.Equal(expected, Layout(width, height, scope => scope.Grid(grid, items))); }