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

18 lines
245 B
Go

package gouring
import (
"fmt"
"testing"
"github.com/stretchr/testify/assert"
)
func TestRingQueue(t *testing.T) {
h, err := New(256, 0)
assert.NoError(t, err)
defer h.Close()
sqe := h.io_uring_get_sqe()
fmt.Printf("%+#v\n", sqe)
}