code: def test_update_adjustments(
      self,
      initial_adjustments,
      adjustments_to_add,
      expected_adjustments_with_append,
      expected_adjustments_with_prepend,
  ):
      methods = ["append", "prepend"]
      expected_outputs = [
          expected_adjustments_with_append,
          expected_adjustments_with_prepend,
      ]
  
      for method, expected_output in zip(methods, expected_outputs):
          data = arange(30, dtype=float).reshape(6, 5)
          adjusted_array = AdjustedArray(
              data, initial_adjustments, float("nan")
          )
  
          adjusted_array.update_adjustments(adjustments_to_add, method)
          self.assertEqual(adjusted_array.adjustments, expected_output)
  
imports: from collections import namedtuple
  from itertools import chain, product
  from string import ascii_lowercase, ascii_uppercase
  from textwrap import dedent
  from unittest import TestCase
  from nose_parameterized import parameterized
  from numpy import arange, array, asarray, dtype, full
  from six.moves import zip_longest
  from toolz import curry
  from zipline.errors import WindowLengthNotPositive, WindowLengthTooLong
  from zipline.lib.adjustment import Boolean1DArrayOverwrite, BooleanOverwrite, Datetime641DArrayOverwrite, Datetime64Overwrite, Float641DArrayOverwrite, Float64Multiply, Float64Overwrite, Int64Overwrite, Object1DArrayOverwrite, ObjectOverwrite
  from zipline.lib.adjusted_array import AdjustedArray
  from zipline.lib.labelarray import LabelArray
  from zipline.testing import check_arrays
  from zipline.testing.predicates import assert_equal
  from zipline.utils.compat import unicode
  from zipline.utils.numpy_utils import coerce_to_dtype, datetime64ns_dtype, default_missing_value_for_dtype, bool_dtype, float64_dtype, int64_dtype, object_dtype
label_desc: Use image node_id 11 for calling the AdjustedArrayTestCase obj's underlying member method code with example usage: obj.test_update_adjustments(initial_adjustments, adjustments_to_add, expected_adjustments_with_append, expected_adjustments_with_prepend) without return types