code: def test_dominates_1d_not_equal(v1: float, v2: float) -> None:
      t1 = create_trial(values=[v1])
      t2 = create_trial(values=[v2])
  
      assert _dominates(t1, t2, [StudyDirection.MINIMIZE])
      assert not _dominates(t2, t1, [StudyDirection.MINIMIZE])
  
      assert _dominates(t2, t1, [StudyDirection.MAXIMIZE])
      assert not _dominates(t1, t2, [StudyDirection.MAXIMIZE])
  
file_path: optuna/tests/study_tests/test_multi_objective.py
imports: import pytest
  from optuna.study import StudyDirection
  from optuna.study._multi_objective import _dominates
  from optuna.trial import create_trial
  from optuna.trial import TrialState
label_desc: Use image node_id 1 for calling a global function with example usage: test_dominates_1d_not_equal(v1, v2) without return types