Beispiel #1
0
        //-------------------------------------------------------------------------
        public virtual void test_buildInto()
        {
            ZeroRateSensitivity       @base = ZeroRateSensitivity.of(GBP, YEARFRAC, 32d);
            MutablePointSensitivities combo = new MutablePointSensitivities();
            MutablePointSensitivities test  = @base.buildInto(combo);

            assertSame(test, combo);
            assertEquals(test.Sensitivities, ImmutableList.of(@base));
        }