mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-25 13:56:35 +00:00
15 lines
222 B
Go
15 lines
222 B
Go
|
package consensus
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/require"
|
||
|
)
|
||
|
|
||
|
func TestRecoveryRequest_Setters(t *testing.T) {
|
||
|
var r recoveryRequest
|
||
|
|
||
|
r.SetTimestamp(123)
|
||
|
require.EqualValues(t, 123, r.Timestamp())
|
||
|
}
|