#!/usr/bin/env php loadYaml('productplan_checklinkplan', false, 2)->gen(10); zendata('projectproduct')->loadYaml('projectproduct_checklinkplan', false, 2)->gen(5); su('admin'); $executionTest = new executionZenTest(); r($executionTest->checkLinkPlanTest(1, array(1,2), array('1' => array(3,4)))) && p('result') && e('success'); r($executionTest->checkLinkPlanTest(2, array(1,2), array())) && p('result') && e('success'); r($executionTest->checkLinkPlanTest(3, array(), array())) && p('result') && e('success'); r($executionTest->checkLinkPlanTest(4, array(5,6), array('1' => array(5,6)))) && p('result') && e('success'); r($executionTest->checkLinkPlanTest(5, array(1,2), array('1' => array(1,2,3)))) && p('result') && e('success');