forked from cerc-io/plugeth
Move test bootstrap to main_test.go
This commit is contained in:
parent
cd94b5ffb3
commit
d9ccbf04db
8
ethutil/main_test.go
Normal file
8
ethutil/main_test.go
Normal file
@ -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
|
package ethutil
|
||||||
|
|
||||||
import (
|
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
|
data1 := 2381273
|
||||||
data2 := 2192
|
data2 := 2192
|
||||||
data3 := 12
|
data3 := 12
|
||||||
|
@ -3,11 +3,8 @@ package ethutil
|
|||||||
import (
|
import (
|
||||||
checker "gopkg.in/check.v1"
|
checker "gopkg.in/check.v1"
|
||||||
"math/big"
|
"math/big"
|
||||||
"testing"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func Test(t *testing.T) { checker.TestingT(t) }
|
|
||||||
|
|
||||||
type ValueSuite struct{}
|
type ValueSuite struct{}
|
||||||
|
|
||||||
var _ = checker.Suite(&ValueSuite{})
|
var _ = checker.Suite(&ValueSuite{})
|
||||||
|
Loading…
Reference in New Issue
Block a user