* Fix comment of unit test.

This commit is contained in:
qixinzhi
2023-07-19 03:06:36 +00:00
parent 05e6399952
commit 0f28c57490
@@ -13,14 +13,15 @@ cid=1
*/
zdTable('product')->config('product', $useCommon = true, $levels = 4)->gen(10);
zdTable('story')->config('story_status_closedreason', $useCommon = true, $levels = 4)->gen(500);
$calc = $metric->calcMetric(__FILE__);
r($calc->getResult()) && p('0:value') && e('146'); // 测试500条数据全局有效研发需求数。
r($calc->getResult()) && p('0:value') && e('80'); // 测试500条数据全局无效研发需求数。
zdTable('story')->config('story_status_closedreason', $useCommon = true, $levels = 4)->gen(839);
$calc = $metric->calcMetric(__FILE__);
r($calc->getResult()) && p('0:value') && e('240'); // 测试839条数据全局有效研发需求数。
r($calc->getResult()) && p('0:value') && e('120'); // 测试839条数据全局无效研发需求数。
zdTable('story')->config('story_status_closedreason', $useCommon = true, $levels = 4)->gen(1252);
$calc = $metric->calcMetric(__FILE__);
r($calc->getResult()) && p('0:value') && e('360'); // 测试1252条数据全局有效研发需求数。
r($calc->getResult()) && p('0:value') && e('180'); // 测试1252条数据全局无效研发需求数。