Ejemplo n.º 1
0
        public virtual void test_multipliedBy_vs_combinedWith()
        {
            UnitParameterSensitivities multiplied = SENSI_2.multipliedBy(2d);
            UnitParameterSensitivities added      = SENSI_2.combinedWith(SENSI_2);

            assertEquals(multiplied, added);
        }
Ejemplo n.º 2
0
        //-------------------------------------------------------------------------
        public virtual void test_combinedWith_one_notNormalized()
        {
            UnitParameterSensitivities test = SENSI_1.combinedWith(ENTRY3);

            assertEquals(test.Sensitivities, ImmutableList.of(ENTRY1, ENTRY3));
        }