1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.jot.test.internal; import net.jot.testing.JOTTester; /** * Internal Test case for static method of unit testing * @author thibautc */ public class TestTest { private static int add(int i1,int i2) { return i1+i2; } public static void jotTest() throws Throwable { TestTest test=new TestTest(); JOTTester.checkIf("Test Class Test", test.add(1,3)==4); } }