mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 23:30:36 +00:00
14 lines
238 B
Go
14 lines
238 B
Go
package consensus
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestRecoveryRequest_Setters(t *testing.T) {
|
|
var r recoveryRequest
|
|
|
|
r.SetTimestamp(123 * nsInMs)
|
|
require.EqualValues(t, 123*nsInMs, r.Timestamp())
|
|
}
|