mirror of https://github.com/poanetwork/gecko.git
33 lines
1.1 KiB
Go
33 lines
1.1 KiB
Go
|
// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
|
||
|
// See the file LICENSE for licensing terms.
|
||
|
|
||
|
package snowman
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestTopologicalParams(t *testing.T) { ParamsTest(t, TopologicalFactory{}) }
|
||
|
|
||
|
func TestTopologicalAdd(t *testing.T) { AddTest(t, TopologicalFactory{}) }
|
||
|
|
||
|
func TestTopologicalCollect(t *testing.T) { CollectTest(t, TopologicalFactory{}) }
|
||
|
|
||
|
func TestTopologicalCollectNothing(t *testing.T) { CollectNothingTest(t, TopologicalFactory{}) }
|
||
|
|
||
|
func TestTopologicalCollectTransReject(t *testing.T) { CollectTransRejectTest(t, TopologicalFactory{}) }
|
||
|
|
||
|
func TestTopologicalCollectTransResetTest(t *testing.T) {
|
||
|
CollectTransResetTest(t, TopologicalFactory{})
|
||
|
}
|
||
|
|
||
|
func TestTopologicalCollectTransVote(t *testing.T) { CollectTransVoteTest(t, TopologicalFactory{}) }
|
||
|
|
||
|
func TestTopologicalDivergedVoting(t *testing.T) { DivergedVotingTest(t, TopologicalFactory{}) }
|
||
|
|
||
|
func TestTopologicalIssuedTest(t *testing.T) { IssuedTest(t, TopologicalFactory{}) }
|
||
|
|
||
|
func TestTopologicalMetricsError(t *testing.T) { MetricsErrorTest(t, TopologicalFactory{}) }
|
||
|
|
||
|
func TestTopologicalConsistent(t *testing.T) { ConsistentTest(t, TopologicalFactory{}) }
|