docstr: ...Test that ProxGroupL1 deals with range correctly
          
docstr_tok: ["...","Test","that","ProxGroupL1","deals","with","range","correctly"]
code: def test_ProxGroupL1_range(self):
      """...Test that ProxGroupL1 deals with range correctly"""
      np.random.seed(2093)
      coeffs = np.random.randn(10)
      # put a very high strength that will push the penalized coefficients
      # to zero
      strength = 1e2
      blocks_start = [1]
      blocks_length = [3]
      prox_range = (3, 7)
      prox = ProxGroupL1(
          strength=strength,
          blocks_start=blocks_start,
          blocks_length=blocks_length,
          range=prox_range,
      )
      start_penalized_coeff = prox_range[0] + blocks_start[0]
      end_penalized_coeff = (
          prox_range[0] + blocks_start[0] + blocks_length[0]
      )
      self.assertTrue(
          all(
              prox.call(coeffs)[
                  start_penalized_coeff:end_penalized_coeff
              ]
              == 0
          )
      )
  
file_path: tick/tick/prox/tests/prox_group_l1_test.py
imports: import unittest
  from numpy.testing import assert_almost_equal
  import numpy
  from tick.prox import ProxGroupL1
  from tick.prox.tests.prox import TestProx
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_ProxGroupL1_range() without return types