code: def test_apply_av(self):
      a = [
          np.array([1.0, 2.0, 1.0, 2.0]),
          np.array([0.0, 0.0, 0.0, 0.0]),
      ]
      av = np.array([0.0, 1.0, 1.0, 0.0])
  
      outcome = (
          np.array([3.0, 2.0, 1.0, 4.0]),
          np.array([0.0, 0.0, 0.0, 0.0]),
      )
      assert np.allclose(apply_av(a, av), outcome)
  
imports: from matrixprofile.utils import *
  import numpy
  import pytest
label_desc: Use image node_id 15 for calling the TestClass obj's underlying member method code with example usage: obj.test_apply_av() without return types