PRQuadTree / src / InternalNodeTest.java
InternalNodeTest.java
Raw
import student.TestCase;

/**
 * Tests the methods in the internalNode class
 * @author nickgrifasi
 * @version 10/15/21
 */
public class InternalNodeTest extends TestCase {

    
    /**
     * setUp method for testing
     */
    public void setUp()
    {
        //method left intentionally empty
    }
    
    /**
     * tests remove in internal node
     */
    public void testRemove()
    {
        InternalNode root = new InternalNode();
        Point point = new Point("test", 50, 100);
        //Point point2 = new Point("test2", 10, 400);
        assertEquals(null, root.remove(0, 100, 50, point, true));
        assertEquals(null, root.remove(0, 10, 400, point, true));
    }
}