import junit.framework.TestCase;


public class FunnyIntegerSetTest01 extends TestCase {

	public void testInsert() {
		FunnyIntegerSet set = new FunnyIntegerSet ();
		set.insert(3);
		assertTrue (set != null);
	}

	public void testFindClosest() {
		FunnyIntegerSet set = new FunnyIntegerSet ();
		set.insert (3);
		set.insert (6);
		assertEquals (6, set.findClosest(5));
	}

}
