code: def test_random_split(self):
      resource_path = os.path.join(
          os.path.split(__file__)[0], "../resources/pascal"
      )
      imageFrame = ImageFrame.read(resource_path, self.sc)
      splits = imageFrame.random_split([1.0])
  
imports: import pytest
  import os
  from bigdl.dllib.utils.common import *
  from bigdl.dllib.feature.transform.vision.image import *
  import tempfile
label_desc: Use image node_id 40 for calling the TestLayer obj's underlying member method code with example usage: obj.test_random_split() without return types