Add a test for Piece size
This commit is contained in:
parent
1cdae13700
commit
c2ba2aa417
|
@ -0,0 +1,10 @@
|
|||
package torrent
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
func TestPieceSize(t *testing.T) {
|
||||
t.Logf("%v", unsafe.Sizeof(Piece{}))
|
||||
}
|
Loading…
Reference in New Issue