新代码

package com.junits;

import static org.junit.Assert.*;

import org.junit.Before; import org.junit.Test;

public class ClassTest {

 @Before  public void setUp() throws Exception {  }

 @Test  public void testClass() {   fail("Not yet implemented");  }

 @Test  public void testAdd() {   fail("Not yet implemented");   int x = 10;   int y = 11;   Class c = new Class();   int sum = c.add(x, y);   System.out.println("和:"+sum);  }

}

posted @ 2015-09-07 12:09  苏鑫  阅读(180)  评论(0编辑  收藏  举报