You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
304 B

  1. package batchbuilder
  2. import (
  3. "fmt"
  4. "testing"
  5. "github.com/iden3/go-merkletree/db/memory"
  6. "github.com/stretchr/testify/assert"
  7. )
  8. func TestBatchBuilder(t *testing.T) {
  9. stateDB := memory.NewMemoryStorage()
  10. bb, err := NewBatchBuilder(stateDB, nil, 0, 0, 32)
  11. assert.Nil(t, err)
  12. fmt.Println(bb)
  13. }