code: def test_2hot_roundtrip(self):
      min_value = -1.0
      max_value = 1.0
      num_bins = 11
  
      value = np.arange(min_value, max_value, 0.01)
  
      transformed = transforms.transform_to_2hot(
          value, min_value, max_value, num_bins
      )
      restored = transforms.transform_from_2hot(
          transformed, min_value, max_value, num_bins
      )
  
      np.testing.assert_almost_equal(value, restored, decimal=5)
  
imports: import functools
  from absl.testing import absltest
  from absl.testing import parameterized
  import chex
  import jax
  import jax.numpy
  import numpy
  from rlax._src import transforms
label_desc: Use image node_id 16 for calling the TransformsTest obj's underlying member method code with example usage: obj.test_2hot_roundtrip() without return types