code: def test_pat011_patch_add():
      p = Patch()
      p.plusplus += 1
  
      data = patch_to_dict(p)
  
      assert data["operations"][0] == {
          "operation": "Add",
          "location": ["plusplus"],
          "params": {"value": 1},
      }
  
imports: import json
  import pytest
  from dash import Patch
  from dash._utils import to_json
label_desc: Use image node_id 12 for calling a global function with example usage: test_pat011_patch_add() without return types