forked from TrueCloudLab/frostfs-node
dadfd90dcd
Initial public review release v0.10.0
16 lines
193 B
Go
16 lines
193 B
Go
package ir
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestNode(t *testing.T) {
|
|
s := Node{}
|
|
|
|
key := []byte{1, 2, 3}
|
|
s.SetKey(key)
|
|
|
|
require.Equal(t, key, s.Key())
|
|
}
|