All pastes #444325 Raw Edit

Stuff

public java v1 · immutable
·published 2007-04-17 10:08 UTC
rendered paste body
import junit.framework.TestCase;public class IntListTest extends TestCase {      IntList a;   protected void setUp() throws Exception {      System.out.println("2");      a = new IntList();      int[] data = { 1, 4, 6, 5, 2 };      int i = 0;      for(i = 0; i < data.length; i++){         a.add(data[i]);      }   }   protected void tearDown() throws Exception {      System.out.println("LOL CLEAN");      a.clear();   }   public void testIsSorted() {      System.out.println("11");//isSorted code test here   }   public void testSort() {      assertEquals(false, a.isSorted());//sort test here   }}