Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Sep 15, 2024
1 parent dcb691b commit faa83c7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pmtiles/upload_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package pmtiles

import (
"testing"
"github.com/stretchr/testify/assert"
"testing"
)


func TestPartSizeBytes(t *testing.T) {
assert.Equal(t, 5 * 1024 * 1024, partSizeBytes(100))
assert.Equal(t, 6442451, partSizeBytes(60 * 1024 * 1024 * 1024))
}
assert.Equal(t, 5*1024*1024, partSizeBytes(100))
assert.Equal(t, 6442451, partSizeBytes(60*1024*1024*1024))
}

0 comments on commit faa83c7

Please sign in to comment.