Block size

This commit is contained in:
obscuren
2014-08-25 12:53:06 +02:00
parent 3f904bf3ac
commit 6afc16399f
4 changed files with 35 additions and 2 deletions

12
ethutil/size_test.go Normal file
View File

@ -0,0 +1,12 @@
package ethutil
import (
"fmt"
"testing"
)
func TestSize(t *testing.T) {
fmt.Println(StorageSize(2381273))
fmt.Println(StorageSize(2192))
fmt.Println(StorageSize(12))
}