code: def test_valid_conf_values(self, conf):
      # Test with valid confidence values
      output_precision = 2
      result = get_ctm_line(
          source="test_source",
          channel=1,
          start_time=0.123,
          duration=0.456,
          token="word",
          conf=conf,
          type_of_token="lex",
          speaker="speaker1",
          output_precision=output_precision,
      )
      expected = (
          "test_source 1 0.12 0.46 word"
          + f" {conf:.{output_precision}f} lex speaker1\n"
      )
      assert result == expected, f"Failed on valid conf value {conf}"
  
imports: import os
  import numpy
  import pytest
  import torch
  from omegaconf import DictConfig
  from nemo.collections.asr.parts.utils.data_simulation_utils import DataAnnotator, SpeechSampler, add_silence_to_alignments, binary_search_alignments, get_cleaned_base_path, get_split_points_in_alignments, normalize_audio, read_noise_manifest
  from nemo.collections.asr.parts.utils.manifest_utils import get_ctm_line
label_desc: Use image node_id 2 for calling the TestGetCtmLine obj's underlying member method code with example usage: obj.test_valid_conf_values(conf) without return types