mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 12:27:18 +00:00
d04399ea96
* 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
27 lines
374 B
Go
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)
|
|
}
|
|
}
|