code: def test_mergextend():
      """Test mergextend function"""
      assert mergextend(["a", "b"], ["c", "d"]) == ["a", "b"]
      assert mergextend([], ["c", "d"]) == []
      assert mergextend(["a", "b"], []) == ["a", "b"]
  
      assert mergextend([Ellipsis], ["c", "d"]) == ["c", "d"]
      assert mergextend([Ellipsis, "b"], ["c", "d"]) == ["c", "d", "b"]
      assert mergextend(["a", Ellipsis], ["c", "d"]) == ["a", "c", "d"]
      assert mergextend(["a", Ellipsis, "b"], ["c", "d"]) == [
          "a",
          "c",
          "d",
          "b",
      ]
  
      assert mergextend(["a", ..., "b"], ["c", "d"]) == [
          "a",
          "c",
          "d",
          "b",
      ]
  
file_path: pygal/pygal/test/test_util.py
imports: from pytest import raises
  from pygal.util import _swap_curly, majorize, mergextend, minify_css, round_to_float, round_to_int, template, truncate
label_desc: Use image node_id 8 for calling a global function with example usage: test_mergextend() without return types