github.com/linapex/ethereum-dpos-chinese@v0.0.0-20190316121959-b78b3a4a1ece/swarm/storage/mock/mem/mem_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 12:09:49</date>
    10  //</624342682168201216>
    11  
    12  //
    13  //
    14  //
    15  //
    16  //
    17  //
    18  //
    19  //
    20  //
    21  //
    22  //
    23  //
    24  //
    25  //
    26  //
    27  
    28  package mem
    29  
    30  import (
    31  	"testing"
    32  
    33  	"github.com/ethereum/go-ethereum/swarm/storage/mock/test"
    34  )
    35  
    36  //
    37  //
    38  func TestGlobalStore(t *testing.T) {
    39  	test.MockStore(t, NewGlobalStore(), 100)
    40  }
    41  
    42  //
    43  //
    44  //
    45  func TestImportExport(t *testing.T) {
    46  	test.ImportExport(t, NewGlobalStore(), NewGlobalStore(), 100)
    47  }
    48