mirror of
https://github.com/ap-pauloafonso/ratio-spoof.git
synced 2026-03-11 17:45:32 +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
|
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue