code: def test_concatenate():
      x = np.array([[1.0, 2.0], [3.0, 4.0]])
      y = np.array([[5.0], [6.0]])
      np_res = np.concatenate([x, y], axis=1)
  
      res = hl.eval(hl.nd.concatenate([x, y], axis=1))
      assert np.array_equal(np_res, res)
  
      res = hl.eval(hl.nd.concatenate(hl.array([x, y]), axis=1))
      assert np.array_equal(np_res, res)
  
      x = np.array([[1], [3]])
      y = np.array([[5], [6]])
  
      seq = [x, y]
      seq2 = hl.array(seq)
      np_res = np.concatenate(seq)
      res = hl.eval(hl.nd.concatenate(seq))
      assert np.array_equal(np_res, res)
  
      res = hl.eval(hl.nd.concatenate(seq2))
      assert np.array_equal(np_res, res)
  
      seq = (x, y)
      seq2 = hl.array([x, y])
      np_res = np.concatenate(seq)
      res = hl.eval(hl.nd.concatenate(seq))
      assert np.array_equal(np_res, res)
  
      res = hl.eval(hl.nd.concatenate(seq2))
      assert np.array_equal(np_res, res)
  
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 34 for calling a global function with example usage: test_concatenate() without return types