github.com/linapex/ethereum-go-chinese@v0.0.0-20190316121929-f8b7a73c3fa1/tests/rlp_test.go (about)

     1  
     2  //<developer>
     3  //    <name>linapex 曹一峰</name>
     4  //    <email>linapex@163.com</email>
     5  //    <wx>superexc</wx>
     6  //    <qqgroup>128148617</qqgroup>
     7  //    <url>https://jsq.ink</url>
     8  //    <role>pku engineer</role>
     9  //    <date>2019-03-16 19:16:45</date>
    10  //</624450122364751872>
    11  
    12  
    13  package tests
    14  
    15  import (
    16  	"testing"
    17  )
    18  
    19  func TestRLP(t *testing.T) {
    20  	t.Parallel()
    21  	tm := new(testMatcher)
    22  	tm.walk(t, rlpTestDir, func(t *testing.T, name string, test *RLPTest) {
    23  		if err := tm.checkFailure(t, name, test.Run()); err != nil {
    24  			t.Error(err)
    25  		}
    26  	})
    27  }
    28