예제 #1
0
        public virtual void stream()
        {
            MarketDataBox <int> box  = MarketDataBox.ofScenarioValues(27, 28, 29);
            IList <int>         list = box.ToList();

            assertThat(list).isEqualTo(ImmutableList.of(27, 28, 29));
        }
예제 #2
0
        public virtual void stream()
        {
            MarketDataBox <int> box  = MarketDataBox.ofSingleValue(27);
            IList <int>         list = box.ToList();

            assertThat(list).isEqualTo(ImmutableList.of(27));
        }