code: def test_hyperparams_to_nested_dict_constructor():
      dict_values = {"hp": 1, "stepa__hp": 2, "stepa__stepb__hp": 3}
      r = HyperparameterSamples(dict_values)
  
      expected_dict_values = {
          "hp": 1,
          "stepa": {"hp": 2, "stepb": {"hp": 3}},
      }
      assert r.to_nested_dict() == expected_dict_values
      assert r == HyperparameterSamples(expected_dict_values)
  
file_path: Neuraxle/testing_neuraxle/test_recursive_dict.py
imports: import pytest
  from neuraxle.hyperparams.space import RecursiveDict, HyperparameterSamples
label_desc: Use image node_id 5 for calling a global function with example usage: test_hyperparams_to_nested_dict_constructor() without return types