mirror of
https://github.com/ii64/gouring.git
synced 2024-10-18 15:11:09 +02:00
14 lines
256 B
Go
14 lines
256 B
Go
|
package gouring
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestDataSize(t *testing.T) {
|
||
|
|
||
|
assert.Equal(t, 64, int(SizeofIoUringSqe), "sqe data size mismatch")
|
||
|
assert.Equal(t, 16, int(SizeofIoUringCqe), "cqe data size mismatch")
|
||
|
}
|