code: def test_simplex_bounds():
      vals = get_values(
          tr.simplex, Vector(R, 2), pt.vector, floatX(np.array([0, 0]))
      )
  
      assert_allclose(vals.sum(axis=1), 1, tol)
      assert_array_equal(vals > 0, True)
      assert_array_equal(vals < 1, True)
  
      check_jacobian_det(
          tr.simplex,
          Vector(R, 2),
          pt.vector,
          floatX(np.array([0, 0])),
          lambda x: x[:-1],
      )
  
imports: import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  from pytensor.tensor.variable import TensorConstant
  import pymc
  import pymc.distributions.transforms
  from pymc.logprob.basic import transformed_conditional_logp
  from pymc.logprob.transforms import Transform
  from pymc.pytensorf import floatX, jacobian
  from pymc.testing import Circ, MultiSimplex, R, Rminusbig, Rplusbig, Simplex, SortedVector, Unit, UnitSortedVector, Vector
label_desc: Use image node_id 6 for calling a global function with example usage: test_simplex_bounds() without return types