code: def test_literal_doc_construction(value):
      doc = LiteralDoc(value)
  
      if isinstance(value, float):
          # FloatImm cannot be compared with Python's float directly
          assert float(doc.value) == pytest.approx(value)
      else:
          assert doc.value == value
  
imports: import pytest
  import tvm
  from tvm.runtime import ObjectPath
  from tvm.script.printer.doc import AssertDoc, AssignDoc, AttrAccessDoc, CallDoc, ClassDoc, CommentDoc, DictDoc, DocStringDoc, ExprStmtDoc, ForDoc, FunctionDoc, IdDoc, IfDoc, IndexDoc, LambdaDoc, ListDoc, LiteralDoc, OperationDoc, OperationKind, ReturnDoc, ScopeDoc, SliceDoc, StmtBlockDoc, TupleDoc, WhileDoc
label_desc: Use image node_id 1 for calling a global function with example usage: test_literal_doc_construction(value) without return types