code: def test_has_validation_split():
      param = HasValidationSplit()
      assert param.get_validation_split() == 0.1
      split = 0.5
      param.set_validation_split(split)
      assert param.get_validation_split() == split
  
file_path: elephas/tests/ml/test_params.py
imports: from elephas.ml.params import *
label_desc: Use image node_id 10 for calling a global function with example usage: test_has_validation_split() without return types