// 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.rectangle;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
package com.github.davidmoten.rtree.geometry;



public class RectangleTest {

    private static final double PRECISION = 0.00001;

    @Test
    public void testDistanceToSelfIsZero() {
// 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/RectangleTest.java
import static com.github.davidmoten.rtree.geometry.Geometries.rectangle;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;

package com.github.davidmoten.rtree.geometry;



public class RectangleTest {

    private static final double PRECISION = 0.00001;

    @Test
    public void testDistanceToSelfIsZero() {
        Rectangle r = rectangle(0, 0, 1, 1);