code: def test_normalize(self):
      l = [1, 2, 3]
      normalized = normalize(l)
      expected = [1.0 / 6, 2.0 / 6, 3.0 / 6]
      self.assertEqual(normalized, expected)
      # Test Exception
      self.assertRaises(ValueError, normalize, [0, 0, 0])
  
file_path: python-ternary/tests/test_helpers.py
imports: import random
  import unittest
  from numpy.testing import assert_array_equal, assert_array_almost_equal
  from ternary.helpers import normalize, project_point, planar_to_coordinates, simplex_iterator, SQRT3OVER2
label_desc: Use image node_id 1 for calling the FunctionCases obj's underlying member method code with example usage: obj.test_normalize() without return types