public virtual void test_basics()
 {
     assertEquals(EXTRAP.Name, ProductLinearCurveExtrapolator.NAME);
     assertEquals(EXTRAP.ToString(), ProductLinearCurveExtrapolator.NAME);
 }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(dataProvider = "name") public void test_toString(CurveExtrapolator convention, String name)
        public virtual void test_toString(CurveExtrapolator convention, string name)
        {
            assertEquals(convention.ToString(), name);
        }
Exemple #3
0
 public virtual void test_basics()
 {
     assertEquals(FLAT_EXTRAPOLATOR.Name, FlatCurveExtrapolator.NAME);
     assertEquals(FLAT_EXTRAPOLATOR.ToString(), FlatCurveExtrapolator.NAME);
 }
 public virtual void test_basics()
 {
     assertEquals(QL_EXTRAPOLATOR.Name, QuadraticLeftCurveExtrapolator.NAME);
     assertEquals(QL_EXTRAPOLATOR.ToString(), QuadraticLeftCurveExtrapolator.NAME);
 }
Exemple #5
0
 public virtual void test_basics()
 {
     assertEquals(EXP_EXTRAPOLATOR.Name, ExponentialCurveExtrapolator.NAME);
     assertEquals(EXP_EXTRAPOLATOR.ToString(), ExponentialCurveExtrapolator.NAME);
 }
Exemple #6
0
 public virtual void test_basics()
 {
     assertEquals(LL_EXTRAPOLATOR.Name, LogLinearCurveExtrapolator.NAME);
     assertEquals(LL_EXTRAPOLATOR.ToString(), LogLinearCurveExtrapolator.NAME);
 }
Exemple #7
0
 public virtual void test_basics()
 {
     assertEquals(EXCEPTION_EXTRAPOLATOR.Name, ExceptionCurveExtrapolator.NAME);
     assertEquals(EXCEPTION_EXTRAPOLATOR.ToString(), ExceptionCurveExtrapolator.NAME);
 }
Exemple #8
0
 public virtual void test_basics()
 {
     assertEquals(INT_EXTRAPOLATOR.Name, InterpolatorCurveExtrapolator.NAME);
     assertEquals(INT_EXTRAPOLATOR.ToString(), InterpolatorCurveExtrapolator.NAME);
 }