code: def test_hstack(a, b):
      ht = hl.utils.range_table(10)
  
      def assert_table(a, b):
          ht2 = ht.annotate(x=hl.nd.array(a), y=hl.nd.array(b))
          ht2 = ht2.annotate(stacked=hl.nd.hstack([ht2.x, ht2.y]))
          assert np.array_equal(
              ht2.collect()[0].stacked, np.hstack([a, b])
          )
  
      assert np.array_equal(
          hl.eval(hl.nd.hstack((a, b))), np.hstack((a, b))
      )
      assert np.array_equal(
          hl.eval(hl.nd.hstack(hl.array([a, b]))), np.hstack((a, b))
      )
      assert_table(a, b)
  
imports: import math
  import numpy
  import re
  from ..helpers import *
  import pytest
  from hail.utils.java import FatalError, HailUserError
label_desc: Use image node_id 41 for calling a global function with example usage: test_hstack(a, b) without return types