code: def test_recipe_with_tuple(data):
      adapter = Adapter(
          {
              "X": (),
              "Y": (E("input_1", "features"),),
              "Z": (
                  E("input_1", "features"),
                  E("input_2", "extra_features"),
              ),
          }
      )
      res = adapter.adapt(data)
  
      for i, key in enumerate(("X", "Y", "Z")):
          assert isinstance(res[key], tuple)
          assert len(res[key]) == i
  
      assert res["X"] == ()
      assert np.array_equal(res["Y"][0], data["input_1"]["features"])
      assert np.array_equal(res["Z"][0], data["input_1"]["features"])
      assert np.array_equal(
          res["Z"][1], data["input_2"]["extra_features"]
      )
  
file_path: steppy/tests/test_adapter.py
imports: import numpy
  import pytest
  from steppy.adapter import Adapter, E
label_desc: Use image node_id 5 for calling a global function with example usage: test_recipe_with_tuple(data) without return types