Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
pericles-tpt committed Jan 28, 2025
1 parent 14c242c commit b6ff5fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions godal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4577,7 +4577,7 @@ func TestViewshedCreationOptions(t *testing.T) {
tmpname = tempfile()
)
defer os.Remove(tmpname)
vrtDs, err := Create(driver, tmpname, 1, Int8, 20, 20)
vrtDs, err := Create(driver, tmpname, 1, Int8, 20, 20, CreationOption("TILED=YES", "BLOCKXSIZE=128", "BLOCKYSIZE=128"))
if err != nil {
t.Error(err)
return
Expand All @@ -4599,7 +4599,7 @@ func TestViewshedCreationOptions(t *testing.T) {
assert.Error(t, err)

// Valid
_, err = Viewshed(vrtDs.Bands()[0], &driver, "none", 2, 2, 0, 0, 255, 0, 0, -1, 0, MEdge, 0, Normal, CreationOption("TILED=YES", "BLOCKXSIZE=16", "BLOCKYSIZE=16"))
_, err = Viewshed(vrtDs.Bands()[0], &driver, "none", 2, 2, 0, 0, 255, 0, 0, -1, 0, MEdge, 0, Normal, CreationOption("TILED=YES", "BLOCKXSIZE=128", "BLOCKYSIZE=128"))
assert.NoError(t, err)
}

Expand Down

0 comments on commit b6ff5fd

Please sign in to comment.