// Path: src/main/java/com/github/davidmoten/rtree/geometry/Geometries.java
// public static Circle circle(double x, double y, double radius) {
//     return CircleDouble.create(x, y, radius);
// }
// 
// Path: src/main/java/com/github/davidmoten/rtree/geometry/Geometries.java
// public static Rectangle rectangle(double x1, double y1, double x2, double y2) {
//     return rectangleDouble(x1, y1, x2, y2);
// }


import static com.github.davidmoten.rtree.geometry.Geometries.circle;
import static com.github.davidmoten.rtree.geometry.Geometries.rectangle;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.github.davidmoten.junit.Asserts;
package com.github.davidmoten.rtree.geometry;




public class IntersectsTest {

    @Test
    public void testConstructorIsPrivate() {
        Asserts.assertIsUtilityClass(Intersects.class);
    }

    @Test
    public void testRectangleIntersectsCircle() {
        assertTrue(
// Path: src/main/java/com/github/davidmoten/rtree/geometry/Geometries.java
// public static Circle circle(double x, double y, double radius) {
//     return CircleDouble.create(x, y, radius);
// }
// 
// Path: src/main/java/com/github/davidmoten/rtree/geometry/Geometries.java
// public static Rectangle rectangle(double x1, double y1, double x2, double y2) {
//     return rectangleDouble(x1, y1, x2, y2);
// }


// Path: src/test/java/com/github/davidmoten/rtree/geometry/IntersectsTest.java
import static com.github.davidmoten.rtree.geometry.Geometries.circle;
import static com.github.davidmoten.rtree.geometry.Geometries.rectangle;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.github.davidmoten.junit.Asserts;

package com.github.davidmoten.rtree.geometry;




public class IntersectsTest {

    @Test
    public void testConstructorIsPrivate() {
        Asserts.assertIsUtilityClass(Intersects.class);
    }

    @Test
    public void testRectangleIntersectsCircle() {
        assertTrue(
                Intersects.rectangleIntersectsCircle.call(rectangle(0, 0, 0, 0), circle(0, 0, 1)));