#!/usr/bin/env php getCalculatorTest('system', 'rate', 'rate_of_annual_finished_story')) && p() && e('rate_of_annual_finished_story'); // 步骤1:正常情况 r($metricTest->getCalculatorTest('system', 'rate', 'nonexistent_calculator')) && p() && e('0'); // 步骤2:不存在的计算器 r($metricTest->getCalculatorTest('', '', '')) && p() && e('0'); // 步骤3:空参数 r($metricTest->getCalculatorTest('invalid_scope', 'rate', 'rate_of_annual_finished_story')) && p() && e('0'); // 步骤4:无效scope r($metricTest->getCalculatorTest('system', 'invalid_purpose', 'rate_of_annual_finished_story')) && p() && e('0'); // 步骤5:无效purpose