@Test
  public void radiusArrow() {
    // radius / arrow
    CircularCurvesSolver ccs = new CircularCurvesSolver(false);
    ccs.setRadius(40.0);
    ccs.setArrow(16.4886);
    try {
      ccs.compute();
    } catch (CalculationException e) {
      Assert.fail(e.getMessage());
    }

    Assert.assertEquals("40.0000", this.df4.format(ccs.getRadius()));
    Assert.assertEquals("120.0000", this.df4.format(ccs.getAlphaAngle()));
    Assert.assertEquals("64.7214", this.df4.format(ccs.getChordOF()));
    Assert.assertEquals("55.0553", this.df4.format(ccs.getTangent()));
    Assert.assertEquals("16.4886", this.df4.format(ccs.getArrow()));

    Assert.assertEquals("28.0521", this.df4.format(ccs.getBisector()));
    Assert.assertEquals("75.3982", this.df4.format(ccs.getArc()));
    Assert.assertEquals("251.3274", this.df4.format(ccs.getCircumference()));
    Assert.assertEquals("36.3193", this.df4.format(ccs.getChordOM()));
    Assert.assertEquals("80.0000", this.df4.format(ccs.getBetaAngle()));
    Assert.assertEquals("5026.5482", this.df4.format(ccs.getCircleSurface()));
    Assert.assertEquals("1507.9650", this.df4.format(ccs.getSectorSurface()));
    Assert.assertEquals("747.1199", this.df4.format(ccs.getSegmentSurface()));
  }
  @Test
  public void tangentAlpha() {
    // tangent / alpha
    CircularCurvesSolver ccs = new CircularCurvesSolver(false);
    ccs.setTangent(55.0553);
    ccs.setAlphaAngle(120.0);
    try {
      ccs.compute();
    } catch (CalculationException e) {
      Assert.fail(e.getMessage());
    }

    Assert.assertEquals("40.000", this.df3.format(ccs.getRadius()));
    Assert.assertEquals("120.000", this.df3.format(ccs.getAlphaAngle()));
    Assert.assertEquals("64.721", this.df3.format(ccs.getChordOF()));
    Assert.assertEquals("55.055", this.df3.format(ccs.getTangent()));
    Assert.assertEquals("16.489", this.df3.format(ccs.getArrow()));

    Assert.assertEquals("28.052", this.df3.format(ccs.getBisector()));
    Assert.assertEquals("75.398", this.df3.format(ccs.getArc()));
    Assert.assertEquals("251.328", this.df3.format(ccs.getCircumference()));
    Assert.assertEquals("36.319", this.df3.format(ccs.getChordOM()));
    Assert.assertEquals("80.000", this.df3.format(ccs.getBetaAngle()));
    Assert.assertEquals("5026.552", this.df3.format(ccs.getCircleSurface()));
    Assert.assertEquals("1507.966", this.df3.format(ccs.getSectorSurface()));
    Assert.assertEquals("747.120", this.df3.format(ccs.getSegmentSurface()));
  }