code: def test_get_split_size():
      split_size = _get_split_size(
          minimum_split_size=1024 * 1000 * 10,
          max_split_count=10000,
          total_size=200000000001,
      )
  
      # We shouldn't go over the max split count
      assert math.ceil(200000000001 / split_size) <= 10000
  
      split_size = _get_split_size(
          minimum_split_size=1024 * 1000 * 10,
          max_split_count=10000,
          total_size=1024 * 500 * 1000 * 10,
      )
  
      assert split_size == 1024 * 1000 * 10
  
file_path: pytorch-lightning/tests/tests_app/source_code/test_tar.py
imports: import math
  import os
  import tarfile
  from pathlib import Path
  import pytest
  from lightning.app.source_code.tar import MAX_SPLIT_COUNT, _get_dir_size_and_count, _get_split_size, _tar_path
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_split_size() without return types