code: def test_onenormest(matrices):
      A_dense, A_sparse, b = matrices
      est0 = splin.onenormest(A_dense)
      est = splin.onenormest(A_sparse)
      assert_allclose(est, est0)
  
imports: import pytest
  import numpy
  import scipy.sparse
  import scipy.sparse.linalg
  from numpy.testing import assert_allclose
label_desc: Use image node_id 15 for calling a global function with example usage: test_onenormest(matrices) without return types