Guest User

Untitled

a guest
May 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.26 KB | None | 0 0
  1. import junit.framework.TestCase;
  2.  
  3. public class CalcTest extends TestCase {
  4.   protected void setUp() throws Exception {
  5.     super.setUp();
  6.   }
  7.   public void testPlus() {
  8.     assertEquals(3, Calc.plus(1, 2));
  9.     assertEquals(-2, Calc.plus(5, -7));
  10.   }
  11. }
Add Comment
Please, Sign In to add comment