mirror of
https://github.com/ap-pauloafonso/ratio-spoof.git
synced 2026-01-11 20:10:22 +00:00
rm println on testfile
This commit is contained in:
parent
5f5a6195b5
commit
6c1fb14a25
1 changed files with 0 additions and 4 deletions
|
|
@ -1,15 +1,11 @@
|
|||
package ratiospoof
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestCalculateNextTotalSizeByte(t *testing.T) {
|
||||
randomPieces := 8
|
||||
randomPiecesUpload := rand.Intn(10-1) + 1
|
||||
fmt.Print(randomPiecesUpload)
|
||||
got := calculateNextTotalSizeByte(100*1024, 0, 512, 30, 87979879, randomPieces)
|
||||
want := 3076096
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue