code: def test_to_c_constant_style():
      assert to_c_constant_style("TVM_Woof") == "TVM_WOOF"
      assert to_c_constant_style("TVM_woof") == "TVM_WOOF"
      assert to_c_constant_style("TVM_woof_Woof") == "TVM_WOOF_WOOF"
  
      with pytest.raises(TVMError, match="Constant not TVM prefixed"):
          to_c_constant_style("Cake_Bakery")
      with pytest.raises(TVMError):
          to_c_constant_style("")
  
file_path: tvm/tests/python/relay/test_name_transforms.py
imports: import pytest
  from tvm import TVMError
  from tvm.relay.backend.name_transforms import to_c_function_style, to_c_variable_style, to_c_constant_style, prefix_name, prefix_generated_name
  from tvm.runtime.name_transforms import sanitize_name
label_desc: Use image node_id 3 for calling a global function with example usage: test_to_c_constant_style() without return types