gouring/uring_test.go
Nugraha d28b913247
all: initial files
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-05 04:52:54 +07:00

15 lines
228 B
Go

package gouring
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestRingSetup(t *testing.T) {
h, err := New(256, 0)
assert.NoError(t, err)
assert.NotNil(t, h)
assert.NotEqual(t, 0, h.RingFd)
h.Close()
}