docstr: ...Test TimeFunction's get_norm method on few known examples
          
code: def test_norm(self):
      """...Test TimeFunction's get_norm method on few known examples"""
      T = np.array([0, 1, 2], dtype=float)
      Y = np.array([1, 0, -1], dtype=float)
  
      tf = TimeFunction(
          [T, Y], inter_mode=TimeFunction.InterConstLeft, dt=0.5
      )
      self.assertAlmostEqual(tf.get_norm(), -1)
  
      tf = TimeFunction(
          [T, Y], inter_mode=TimeFunction.InterConstRight, dt=0.5
      )
      self.assertAlmostEqual(tf.get_norm(), 1)
  
      tf = TimeFunction(
          [T, Y], inter_mode=TimeFunction.InterLinear, dt=0.5
      )
      self.assertAlmostEqual(tf.get_norm(), 0)
  
      tf = TimeFunction(
          [T, Y], inter_mode=TimeFunction.InterConstLeft, dt=0.3
      )
      self.assertAlmostEqual(tf.get_norm(), -1.2)
  
      tf = TimeFunction(
          [T, Y], inter_mode=TimeFunction.InterConstRight, dt=0.3
      )
      self.assertAlmostEqual(tf.get_norm(), 1.2)
  
      tf = TimeFunction(
          [T, Y], inter_mode=TimeFunction.InterLinear, dt=0.3
      )
      self.assertAlmostEqual(tf.get_norm(), -0.09, places=2)
  
file_path: tick/tick/base/tests/time_func_test.py
imports: import unittest
  import itertools
  import numpy
  from tick.base import TimeFunction
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_norm() without return types