code: def test_form_data_to_adhoc_generates_deterministic_values():
      form_data = {"where": "1 = 1", "having": "count(*) > 1"}
  
      # The result is the same when given the same input
      assert form_data_to_adhoc(
          form_data, "where"
      ) == form_data_to_adhoc(form_data, "where")
      assert form_data_to_adhoc(form_data, "where") == {
          "clause": "WHERE",
          "expressionType": "SQL",
          "sqlExpression": "1 = 1",
          "filterOptionName": "99fe79985afbddea4492626dc6a87b74",
      }
  
      # The result is different when given different input
      assert form_data_to_adhoc(
          form_data, "having"
      ) == form_data_to_adhoc(form_data, "having")
      assert form_data_to_adhoc(form_data, "having") == {
          "clause": "HAVING",
          "expressionType": "SQL",
          "sqlExpression": "count(*) > 1",
          "filterOptionName": "1da11f6b709c3190daeabb84f77fc8c2",
      }
  
imports: import pytest
  from superset.utils.core import form_data_to_adhoc, simple_filter_to_adhoc
  from tests.integration_tests.test_app import app
label_desc: Use image node_id 2 for calling a global function with example usage: test_form_data_to_adhoc_generates_deterministic_values() without return types