class_docstr: Test all the dunder methods associated with the MeasurementValue class
class_docstr_tok: ["Test","all","the","dunder","methods","associated","with","the","MeasurementValue","class"]
docstr: Test that the output of the __str__ dunder method is as expected
code: def test_str(self):
      """Test that the output of the __str__ dunder method is as expected"""
      m = MeasurementValue([mp1], lambda v: v)
      assert str(m) == "if m0=0 => 0\nif m0=1 => 1"
  
imports: from itertools import product
  import pytest
  import pennylane
  import pennylane.numpy
  from pennylane.measurements import MidMeasureMP, MeasurementValue
  from pennylane.wires import Wires
label_desc: Use image node_id 36 for calling the TestMeasurementValueManipulation obj's underlying member method code with example usage: obj.test_str() without return types