code: def test_get_average_trial_time_():
      running_time = cls.get_average_trial_time_(
          0, avg_trial_run_time=None, trial_start_time=100, time_end=102
      )
      assert running_time == 2
      running_time = cls.get_average_trial_time_(
          1,
          avg_trial_run_time=running_time,
          trial_start_time=110,
          time_end=114,
      )
      assert running_time == 3.0
      running_time = cls.get_average_trial_time_(
          2,
          avg_trial_run_time=running_time,
          trial_start_time=120,
          time_end=126,
      )
      assert running_time == 4.0
  
file_path: autogluon/core/tests/unittests/scheduler/test_seq_scheduler.py
imports: import pytest
  from autogluon.common import space
  from autogluon.core.scheduler.seq_scheduler import LocalSequentialScheduler
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_average_trial_time_() without return types