mirror of
https://github.com/luxfi/bft.git
synced 2026-11-23 00:12:40 +00:00
Modules declare go 1.27.1 and the build images follow. go fix applied the modernizers; omitzero is not applied, since it changes what the JSON says. Co-authored-by: Hanzo Dev <[email protected]>
21 lines
390 B
Go
21 lines
390 B
Go
package engine_test
|
|
|
|
import (
|
|
"testing"
|
|
"time"
|
|
|
|
"github.com/luxfi/bft/testutil/random_network"
|
|
)
|
|
|
|
func TestNetworkSimpleFuzz(t *testing.T) {
|
|
for range 10 {
|
|
t.Run("", func(t *testing.T) {
|
|
config := random_network.DefaultFuzzConfig()
|
|
config.RandomSeed = time.Now().UnixMilli()
|
|
network := random_network.NewNetwork(config, t)
|
|
network.Run()
|
|
network.PrintStatus()
|
|
})
|
|
}
|
|
}
|