forked from TrueCloudLab/frostfs-node
17 lines
224 B
Go
17 lines
224 B
Go
package node
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestStatus_Full(t *testing.T) {
|
|
st := new(Status)
|
|
|
|
st.SetFull()
|
|
require.True(t, st.Full())
|
|
|
|
st.ResetFull()
|
|
require.False(t, st.Full())
|
|
}
|