class_docstr: Tests the gates with special drawing methods.
class_docstr_tok: ["Tests","the","gates","with","special","drawing","methods","."]
docstr: Test that CCZ gets correct special call.
code: def test_CCZ(self):
      """Test that CCZ gets correct special call."""
  
      tape = QuantumScript([qml.CCZ(wires=(0, 1, 2))])
      _, ax = tape_mpl(tape)
      layer = 0
  
      # three wires and one control line
      assert len(ax.lines) == 4
  
      assert ax.lines[3].get_data() == ((layer, layer), (0, 2))
  
      # three control circles
      assert len(ax.patches) == 3
      for i in range(3):
          assert ax.patches[i].center == (layer, i)
  
imports: import pytest
  import pennylane
  from pennylane.drawer import tape_mpl
  from pennylane.tape import QuantumScript
label_desc: Use image node_id 8 for calling the TestSpecialGates obj's underlying member method code with example usage: obj.test_CCZ() without return types