$formula_patt = 'CH3CH3'; $expected_ranges = { 'H' => { 'high' => 6, 'low' => 6 }, 'C' => { 'high' => 2, 'low' => 2 } }; $expected_options = {};