String and text processing accumulators accumulators 1.36.0 Accumulators Eric Niebler Framework for incremental calculation, and collection of statistical accumulators. libs/accumulators/ false false Math '); $accumulators_details = ' accumulators accumulators 1.36.0 Accumulators Eric Niebler Framework for incremental calculation, and collection of statistical accumulators. libs/accumulators/ false false Math '; $libraries->update(boost_libraries::from_xml($accumulators_details, '1.36.0')); $r = $libraries->get_history('accumulators'); assert(count($r) == 1); $libraries->update(boost_libraries::from_xml($accumulators_details, 'develop')); $r = $libraries->get_history('accumulators'); assert(count($r) == 1); $new_accumulators_details = ' accumulators accumulators 1.36.0 Accumulators Eric Niebler Framework for incremental calculation, and collection of statistical accumulators. libs/accumulators/ false false Math Generic '; $libraries->update(boost_libraries::from_xml($new_accumulators_details, 'develop')); $r = $libraries->get_history('accumulators'); assert(count($r) == 2); assert(isset($r['1.36.0'])); assert(isset($r['develop'])); assert($r['1.36.0']['category'] == array('Math')); assert($r['develop']['category'] == array('Generic', 'Math')); assert(!isset($r['master'])); $libraries->update(boost_libraries::from_xml($new_accumulators_details, 'master')); $r = $libraries->get_history('accumulators'); assert(count($r) == 2); assert(isset($r['1.36.0'])); assert(isset($r['master'])); assert(!isset($r['develop'])); assert($r['1.36.0']['category'] == array('Math')); assert($r['master']['category'] == array('Generic', 'Math')); assert(!isset($r['develop']));