2021-09-14 19:18:15 +00:00
|
|
|
package benchmark
|
2020-01-17 17:25:35 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
2020-07-18 16:31:42 +00:00
|
|
|
|
2023-03-17 18:52:56 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v4/testing/require"
|
2020-01-17 17:25:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestPreGenFullBlock(t *testing.T) {
|
|
|
|
_, err := PreGenFullBlock()
|
2020-07-18 16:31:42 +00:00
|
|
|
require.NoError(t, err)
|
2020-01-17 17:25:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func TestPreGenState1Epoch(t *testing.T) {
|
2023-10-30 05:52:36 +00:00
|
|
|
_, err := PreGenState1Epoch()
|
2020-07-18 16:31:42 +00:00
|
|
|
require.NoError(t, err)
|
2020-01-17 17:25:35 +00:00
|
|
|
}
|
|
|
|
|
2021-07-23 16:11:21 +00:00
|
|
|
func TestPreGenstateFullEpochs(t *testing.T) {
|
2023-10-30 05:52:36 +00:00
|
|
|
_, err := PreGenstateFullEpochs()
|
2020-07-18 16:31:42 +00:00
|
|
|
require.NoError(t, err)
|
2020-01-17 17:25:35 +00:00
|
|
|
}
|