rm println on testfile

This commit is contained in:
paulo 2023-07-03 15:47:05 -03:00
parent 5f5a6195b5
commit 6c1fb14a25

View file

@ -1,15 +1,11 @@
package ratiospoof package ratiospoof
import ( import (
"fmt"
"math/rand"
"testing" "testing"
) )
func TestCalculateNextTotalSizeByte(t *testing.T) { func TestCalculateNextTotalSizeByte(t *testing.T) {
randomPieces := 8 randomPieces := 8
randomPiecesUpload := rand.Intn(10-1) + 1
fmt.Print(randomPiecesUpload)
got := calculateNextTotalSizeByte(100*1024, 0, 512, 30, 87979879, randomPieces) got := calculateNextTotalSizeByte(100*1024, 0, 512, 30, 87979879, randomPieces)
want := 3076096 want := 3076096