prysm-pulse/shared/benchutil/pregen_test.go
Ivan Martinez d04399ea96
Refactor generated benchmark files to allow for more general usage (#4436)
* Begin to refactor benchmark files to testutil

* Complete most of refactoring

* Fix file path

* gofmt

* Fix path

* Move generatego to tools/

* Move gen util to tools/benchmark-files-gen

* Add comments to pregen funcs

* Make function names consistent

* Update README

* Redo benchmarks with 16384 validators
2020-01-17 12:25:35 -05:00

27 lines
374 B
Go

package benchutil
import (
"testing"
)
func TestPreGenFullBlock(t *testing.T) {
_, err := PreGenFullBlock()
if err != nil {
t.Fatal(err)
}
}
func TestPreGenState1Epoch(t *testing.T) {
_, err := PreGenFullBlock()
if err != nil {
t.Fatal(err)
}
}
func TestPreGenState2FullEpochs(t *testing.T) {
_, err := PreGenFullBlock()
if err != nil {
t.Fatal(err)
}
}