mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 13:47:19 +00:00
708b439f4a
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
15 lines
233 B
Go
15 lines
233 B
Go
package consensus
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestRecoveryRequest_Getters(t *testing.T) {
|
|
var r = &recoveryRequest{
|
|
timestamp: 123,
|
|
}
|
|
|
|
require.EqualValues(t, 123*nsInMs, r.Timestamp())
|
|
}
|