func TestEndPoint_Value(t *testing.T) {
	assert.Equal(t, Int8Value(1), NewEndPoint(Int8Value(1), BoundTypeOpen).Value())
	assert.Equal(t, Int8Value(0), NewEndPoint(Int8Value(0), BoundTypeOpen).Value())
	assert.Equal(t, Int8Value(-1), NewEndPoint(Int8Value(-1), BoundTypeOpen).Value())
}
TestEndPoint_BoundType tests if the getter of the Value works correctly.
package valuerange
import (
	"testing"
	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/require"
)