Brought some test bits up to date.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1908 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
+3
-1
@@ -1,13 +1,15 @@
|
||||
//
|
||||
// $Id: AdjustTestApp.java,v 1.2 2003/01/15 03:24:53 mdb Exp $
|
||||
|
||||
package com.samskivert.util;
|
||||
package com.samskivert.swing;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import javax.swing.BorderFactory;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JFrame;
|
||||
|
||||
import com.samskivert.util.Config;
|
||||
|
||||
/**
|
||||
* Does something extraordinary.
|
||||
*/
|
||||
@@ -33,9 +33,9 @@ public class CollectionUtilTest extends TestCase
|
||||
assertTrue("length == 10", subset.size() == 10);
|
||||
}
|
||||
|
||||
// test sortable array list insertion
|
||||
// test comparable array list insertion
|
||||
Random rand = new Random();
|
||||
SortableArrayList slist = new SortableArrayList();
|
||||
ComparableArrayList slist = new ComparableArrayList();
|
||||
for (int ii = 0; ii < 25; ii++) {
|
||||
Integer value = new Integer(rand.nextInt(100));
|
||||
slist.insertSorted(value);
|
||||
|
||||
Reference in New Issue
Block a user