no-wrap option; pivoted exponential zoom
This commit is contained in:
@@ -39,7 +39,7 @@ func TestDrawPointsFromPlan_DuplicatesAcrossTilesAndClips(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
d := &fakePrimitiveDrawer{}
|
||||
drawPointsFromPlan(d, plan)
|
||||
drawPointsFromPlan(d, plan, true)
|
||||
|
||||
// We expect 4 point copies:
|
||||
// (tx=0,ty=0), (tx=0,ty=1), (tx=1,ty=0), (tx=1,ty=1)
|
||||
@@ -124,7 +124,7 @@ func TestDrawPointsFromPlan_SkipsTilesWithoutPoints(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
d := &fakePrimitiveDrawer{}
|
||||
drawPointsFromPlan(d, plan)
|
||||
drawPointsFromPlan(d, plan, true)
|
||||
|
||||
// No points => no drawing commands at all.
|
||||
require.Empty(t, d.Commands())
|
||||
|
||||
Reference in New Issue
Block a user