Add a test for Piece size

This commit is contained in:
Matt Joiner 2020-09-29 16:24:43 +10:00
parent 1cdae13700
commit c2ba2aa417
1 changed files with 10 additions and 0 deletions

10
piece_test.go Normal file
View File

@ -0,0 +1,10 @@
package torrent
import (
"testing"
"unsafe"
)
func TestPieceSize(t *testing.T) {
t.Logf("%v", unsafe.Sizeof(Piece{}))
}