测试性优化方法英文
作者:admin发布时间:2021-08-04分类:综合资讯浏览:300评论:0
@Parameters public static Collection Objcet[] t(){ return Arrays.asList(new Object[][]{ {0,"-n","-grade","2","2"}, {1,"-n","10","-grade","1"}, {1,"-grade","1","-n","10"}, {0,"-n","-1","-grade","1"}, {0,"-n","10","-grade","7"}, {0,"-n","0","-grade","1"}, {0,"-n","1002","-grade","2"} });}public ParameterTest(int expected,String input1,String input2,String input3,String input4){ this.expected=expected; this.input1=input1; this.input2=input2; this.input3=input3; this.input4=input4; }}@BeforeClass public static void setUpBeforeClass() throws Exception { start=0; }@Test public void Mathtest() { assertEquals(expected, new MathExam6329(input1,input2,input3,input4).start);; }
运行流程图
总结
写了七八天,三年级和逆波兰的算法还是有许多问题解决不了,所以没有进行单元测试,这次作业我深深感受到了自身能力的不足,吃了以前学习不认真基础不扎实的亏,过后要好好研究java,提升自身的能力,为下一次作业提供更好的基础。
- 上一篇:这样寻找客户入驻外贸电商平台
- 下一篇:外贸邮箱群发平台