code: def test_create_objective_with_multi_objective():
      obj = objective.create_objective(
          [
              keras_tuner.Objective("score", "max"),
              keras_tuner.Objective("loss", "min"),
          ]
      )
      assert isinstance(obj, objective.MultiObjective)
      assert (
          obj.objectives[0].name == "score"
          and obj.objectives[0].direction == "max"
      )
      assert (
          obj.objectives[1].name == "loss"
          and obj.objectives[1].direction == "min"
      )
  
imports: import pytest
  import keras_tuner
  from keras_tuner.engine import objective
label_desc: Use image node_id 3 for calling a global function with example usage: test_create_objective_with_multi_objective() without return types