test_class.declarator: boxMaker = new SimpleBoxMaker()
test_class.modifier: private final
test_class.original_string: private final SimpleBoxMaker boxMaker = new SimpleBoxMaker();
test_class.type: SimpleBoxMaker
test_class.var_name: boxMaker
test_class.declarator: p = new Point<Double>(34.02886,-118.473988)
test_class.modifier: private final
test_class.original_string: private final Point<Double> p = new Point<Double>(34.02886,-118.473988);
test_class.type: Point<Double>
test_class.var_name: p
test_class.declarator: radius = 3.1415926535897931
test_class.modifier: private final
test_class.original_string: private final Double radius = 3.1415926535897931;
test_class.type: Double
test_class.var_name: radius
test_class.file: seeking-core/src/test/java/com/eharmony/matching/seeking/query/geometry/SimpleBoxMakerTest.java
test_class.identifier: SimpleBoxMakerTest
test_case.body: @Test
      public void makeBox_negativeRadius() {
          Box<Double> expected = new Box<Double>(
              new Point<Double>(p.getX() - radius, p.getY() - radius),
              new Point<Double>(p.getX() + radius, p.getY() + radius)
          );
          assertEquals(expected, boxMaker.make(p, -radius));
      }
test_case.class_method_signature: SimpleBoxMakerTest.makeBox_negativeRadius()
test_case.full_signature: @Test public void makeBox_negativeRadius()
test_case.identifier: makeBox_negativeRadius
test_case.invocations: getX getY getX getY assertEquals make
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void makeBox_negativeRadius()
focal_class.file: seeking-core/src/main/java/com/eharmony/matching/seeking/query/geometry/SimpleBoxMaker.java
focal_class.identifier: SimpleBoxMaker
focal_class.interfaces: implements BoxMaker
focal_class.class_method_signature: SimpleBoxMaker.make(Point<N> center, N radius)
focal_class.full_signature: @Override public Box<N> make(Point<N> center, N radius)
focal_class.identifier: make
focal_class.modifiers: @Override public
focal_class.parameters: (Point<N> center, N radius)
focal_class.return: Box<N>
focal_class.signature: Box<N> make(Point<N> center, N radius)
focal_method.body: @Override
      public <N extends Number & Comparable<N>> Box<N> make(Point<N> center, N radius) {
          N x0 = subtract(center.getX(), radius);
          N x1 = add(center.getX(), radius);
          N y0 = subtract(center.getY(), radius);
          N y1 = add(center.getY(), radius);
          Point<N> a = new Point<N>(min(x0, x1), min(y0, y1));
          Point<N> b = new Point<N>(max(x0, x1), max(y0, y1));
          return new Box<N>(a, b);
      }
focal_method.class_method_signature: SimpleBoxMaker.make(Point<N> center, N radius)
focal_method.full_signature: @Override public Box<N> make(Point<N> center, N radius)
focal_method.identifier: make
focal_method.invocations: subtract getX add getX subtract getY add getY min min max max
focal_method.modifiers: @Override public
focal_method.parameters: (Point<N> center, N radius)
focal_method.return: Box<N>
focal_method.signature: Box<N> make(Point<N> center, N radius)