neoneo-go/pkg/consensus/recovery_request_test.go

14 lines
240 B
Go

package consensus
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestRecoveryRequest_Setters(t *testing.T) {
var r recoveryRequest
r.SetTimestamp(123 * 1000000)
require.EqualValues(t, 123*1000000, r.Timestamp())
}