code: def test_ir_builder_tir_assert():
      with IRBuilder() as ib:
          with T.Assert(T.int32() == 0, message="a is 0"):
              T.evaluate(0)
      # the assert generated by IRBuilder
      assert_actual = ib.get()
  
      # the expected assert statement
      assert_expected = tir.AssertStmt(
          T.int32() == 0, tir.StringImm("a is 0"), tir.Evaluate(0)
      )
  
      # Check if the generated ir is expected
      assert_structural_equal(
          assert_actual, assert_expected, map_free_vars=True
      )
  
imports: import numpy
  import pytest
  import tvm
  import tvm.testing
  from tvm import tir
  from tvm.ir.base import assert_structural_equal
  from tvm.runtime import ndarray
  from tvm.script.ir_builder import IRBuilder
  from tvm.script.ir_builder import tir
label_desc: Use image node_id 8 for calling a global function with example usage: test_ir_builder_tir_assert() without return types