forked from TrueCloudLab/neoneo-go
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())
|
|
}
|