class_docstr: Tests for the counts function
docstr: Test that the properties are correct.
docstr_tok: ["Test","that","the","properties","are","correct","."]
code: def test_counts_properties(self):
      """Test that the properties are correct."""
      meas1 = qml.counts(wires=0)
      meas2 = qml.counts(op=qml.PauliX(0), all_outcomes=True)
      assert meas1.samples_computational_basis is True
      assert meas1.return_type == Counts
      assert meas2.samples_computational_basis is False
      assert meas2.return_type == AllCounts
  
imports: import copy
  import numpy
  import pytest
  import pennylane
  from pennylane.measurements import AllCounts, Counts, CountsMP
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestCounts obj's underlying member method code with example usage: obj.test_counts_properties() without return types