In this paper, the new organization for unit testing embedding pair-wise mode is proposed with the core thought focused on the cooperation of programmer and tester by “cross-testing”. The typical content of unit tes...In this paper, the new organization for unit testing embedding pair-wise mode is proposed with the core thought focused on the cooperation of programmer and tester by “cross-testing”. The typical content of unit testing for the new organizing mode should have three aspects, including self-checking, cross-testing and independent-testing. For cross-testing, executing “pair-wise” mode, mainly tackles data testing, function testing and state testing, which function testing must be done by details and state testing must be considered for completeness. With the specializing of independent-testing, it should be taken as more rigid testing without arbitrariness. Consequently, strategy and measure are addressed for data testing focusing on boundary testing and function/state testing. And organizing method of procedure and key points of tackling unit testing are investigated for the new organizing mode. In order to assess the validity of our study and approach, a series of actual examples are demonstrated for GUI software. The result indicates that the execution of unit testing for the new organizing mode is effective and applicable.展开更多
While the convergence of alternating direction method(ADM)for two sep-arable variables has been established for years,the validity of its direct generalizationto more than two blocks has been studying now.In this pape...While the convergence of alternating direction method(ADM)for two sep-arable variables has been established for years,the validity of its direct generalizationto more than two blocks has been studying now.In this paper,we propose an additionalrequirement on the constraints,i.e.,the pair-wise linear constraints and establish theconvergence of ADM for more than two blocks.Then we apply our approach to twokinds of optimization problems.We also show several numerical experiments to verifythe rationality of proposed algorithm.展开更多
文摘In this paper, the new organization for unit testing embedding pair-wise mode is proposed with the core thought focused on the cooperation of programmer and tester by “cross-testing”. The typical content of unit testing for the new organizing mode should have three aspects, including self-checking, cross-testing and independent-testing. For cross-testing, executing “pair-wise” mode, mainly tackles data testing, function testing and state testing, which function testing must be done by details and state testing must be considered for completeness. With the specializing of independent-testing, it should be taken as more rigid testing without arbitrariness. Consequently, strategy and measure are addressed for data testing focusing on boundary testing and function/state testing. And organizing method of procedure and key points of tackling unit testing are investigated for the new organizing mode. In order to assess the validity of our study and approach, a series of actual examples are demonstrated for GUI software. The result indicates that the execution of unit testing for the new organizing mode is effective and applicable.
文摘While the convergence of alternating direction method(ADM)for two sep-arable variables has been established for years,the validity of its direct generalizationto more than two blocks has been studying now.In this paper,we propose an additionalrequirement on the constraints,i.e.,the pair-wise linear constraints and establish theconvergence of ADM for more than two blocks.Then we apply our approach to twokinds of optimization problems.We also show several numerical experiments to verifythe rationality of proposed algorithm.
基金Supported by the National Natural Science Foundation of China under Grant Nos.9041201260673187+4 种基金604292026057312260672118(国家自然科学基金)the National High-Tech Research and Development Plan of China under Grant Nos.2006AA01Z2182006AA01Z225(国家高技术研究发展计划(863))
基金Supported by the National Natural Science Foundation of China under Grant Nos.6050500460875030 (国家自然科学基金)the Natural Science Foundation of Jiangsu Province of China under Grant No.BK2006521 (江苏省自然科学基金)