#!/usr/bin/env php processUnitListTest()) && p() && e('工时'); // 步骤1:默认配置下的处理结果 global $config; $config->custom->hourPoint = '0'; r($metricTest->processUnitListTest()) && p() && e('工时'); // 步骤2:hourPoint为0时的处理结果 $config->custom->hourPoint = '1'; r($metricTest->processUnitListTest()) && p() && e('故事点'); // 步骤3:hourPoint为1时的处理结果 $config->custom->hourPoint = '2'; r($metricTest->processUnitListTest()) && p() && e('功能点'); // 步骤4:hourPoint为2时的处理结果 unset($config->custom->hourPoint); r($metricTest->processUnitListTest()) && p() && e('工时'); // 步骤5:无hourPoint配置时的默认处理结果