mirror of
https://github.com/ii64/gouring.git
synced 2024-11-22 15:06:42 +01:00
18 lines
245 B
Go
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)
|
|
|
|
}
|