Move test bootstrap to main_test.go

pull/182/head
Taylor Gerring 10 years ago
parent cd94b5ffb3
commit d9ccbf04db
  1. 8
      ethutil/main_test.go
  2. 8
      ethutil/size_test.go
  3. 3
      ethutil/value_test.go

@ -0,0 +1,8 @@
package ethutil
import (
checker "gopkg.in/check.v1"
"testing"
)
func Test(t *testing.T) { checker.TestingT(t) }

@ -1,10 +1,14 @@
package ethutil
import (
"testing"
checker "gopkg.in/check.v1"
)
func TestStorageSizeString(t *testing.T) {
type SizeSuite struct{}
var _ = checker.Suite(&SizeSuite{})
func (s *SizeSuite) TestStorageSizeString(c *checker.C) {
data1 := 2381273
data2 := 2192
data3 := 12

@ -3,11 +3,8 @@ package ethutil
import (
checker "gopkg.in/check.v1"
"math/big"
"testing"
)
func Test(t *testing.T) { checker.TestingT(t) }
type ValueSuite struct{}
var _ = checker.Suite(&ValueSuite{})

Loading…
Cancel
Save