func TestNodeArenaEnd(t *testing.T) {
	for i := uint32(1); i < 256; i++ {
		a := NewArena(i)
		_, err := newNode(a, 1)
		if err == nil {
			t.Log(i)
			break
		}
		require.Equal(t, ErrArenaFull, err)
	}
}
TestNodeArenaEnd tests allocating a node at the boundary of an arena. In Go
1.14 when the race detector is running, Go will also perform some pointer
alignment checks. It will detect alignment issues where a node's memory would
straddle the arena boundary, with unused regions of the node struct dipping
into unallocated memory. This test is only run when the race build tag is
provided.
package arenaskl
import (
	"testing"
	"github.com/stretchr/testify/require"
)