class_docstr: Test helper functions for the tape text.
docstr: Test private _add_cwire_measurement renders as expected.
docstr_tok: ["Test","private","_add_cwire_measurement","renders","as","expected","."]
code: def test_add_cwire_measurement(self, mp, bit_map, out):
      """Test private _add_cwire_measurement renders as expected."""
      layer_str = [" "] * (len(default_wire_map) + len(bit_map))
  
      assert out == _add_cwire_measurement(
          mp,
          layer_str,
          _Config(wire_map=default_wire_map, bit_map=bit_map),
      )
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.drawer import tape_text
  from pennylane.drawer.tape_text import _add_grouping_symbols, _add_cond_grouping_symbols, _add_mid_measure_grouping_symbols, _add_cwire_measurement_grouping_symbols, _add_cwire_measurement, _add_measurement, _add_op, _Config
  from pennylane.tape import QuantumScript, QuantumTape
label_desc: Use image node_id 5 for calling the TestHelperFunctions obj's underlying member method code with example usage: obj.test_add_cwire_measurement(mp, bit_map, out) without return types