2019-06-05 16:26:17 -07:00
|
|
|
package types
|
2018-12-20 11:09:43 -08:00
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestParamsEqual(t *testing.T) {
|
|
|
|
p1 := DefaultParams()
|
|
|
|
p2 := DefaultParams()
|
|
|
|
require.Equal(t, p1, p2)
|
|
|
|
|
|
|
|
p1.TxSigLimit += 10
|
|
|
|
require.NotEqual(t, p1, p2)
|
|
|
|
}
|