mirror of
https://github.com/ceph/go-ceph
synced 2025-02-27 08:00:46 +00:00
14 lines
179 B
Go
14 lines
179 B
Go
package cutil
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestVoidPtr(t *testing.T) {
|
|
i := uintptr(42)
|
|
j := uintptr(VoidPtr(i))
|
|
assert.Equal(t, i, j)
|
|
}
|