test_class.file: jtstoolkit/src/test/java/ec/satoolkit/x11/CopyEndPointsTest.java
test_class.identifier: CopyEndPointsTest
test_case.body: @Test
      public void testProcess() {
          int N = 19;
          //int P=5;
          DataBlock in = new DataBlock(N);
          in.set(1);
          in.cumul();
          for (int P = 0; P < 10; ++P) {
              DataBlock out = in.deepClone();
              CopyEndPoints cnp = new CopyEndPoints(P);
              cnp.process(in, out);
              assertTrue(out.range(0, P + 1).isConstant());
              assertTrue(out.range(N - P - 1, N).isConstant());
          }
      }
test_case.class_method_signature: CopyEndPointsTest.testProcess()
test_case.full_signature: @Test public void testProcess()
test_case.identifier: testProcess
test_case.invocations: set cumul deepClone process assertTrue isConstant range assertTrue isConstant range
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testProcess()
focal_class.declarator: npoints
focal_class.modifier: private
focal_class.original_string: private int npoints;
focal_class.type: int
focal_class.var_name: npoints
focal_class.file: jtstoolkit/src/main/java/ec/satoolkit/x11/CopyEndPoints.java
focal_class.identifier: CopyEndPoints
focal_class.interfaces: implements IEndPointsProcessor
focal_class.class_method_signature: CopyEndPoints.CopyEndPoints(int npoints)
focal_class.full_signature: public  CopyEndPoints(int npoints)
focal_class.identifier: CopyEndPoints
focal_class.modifiers: public
focal_class.parameters: (int npoints)
focal_class.signature:  CopyEndPoints(int npoints)
focal_class.class_method_signature: CopyEndPoints.process(final DataBlock in, final DataBlock out)
focal_class.full_signature: @Override public void process(final DataBlock in, final DataBlock out)
focal_class.identifier: process
focal_class.modifiers: @Override public
focal_class.parameters: (final DataBlock in, final DataBlock out)
focal_class.return: void
focal_class.signature: void process(final DataBlock in, final DataBlock out)
focal_method.body: @Override
      public void process(final DataBlock in, final DataBlock out) {
  	out.range(0, npoints).set(out.get(npoints));
  	int n = out.getLength();
  	out.range(n - npoints, n).set(out.get(n - npoints - 1));
      }
focal_method.class_method_signature: CopyEndPoints.process(final DataBlock in, final DataBlock out)
focal_method.full_signature: @Override public void process(final DataBlock in, final DataBlock out)
focal_method.identifier: process
focal_method.invocations: set range get getLength set range get
focal_method.modifiers: @Override public
focal_method.parameters: (final DataBlock in, final DataBlock out)
focal_method.return: void
focal_method.signature: void process(final DataBlock in, final DataBlock out)