Esempio n. 1
0
        public void ControlDataMergeAlgo2Test()
        {
            var helper = new MergeDataHelper();
            var result = helper.Merge2DataTest(_testMarketDataDource.ToArray());

            CheckControlDataResult(result);
        }
Esempio n. 2
0
        public void ControlDataNullInputSourceMergeAlgo2Test()
        {
            var helper = new MergeDataHelper();
            var result = helper.Merge2DataTest(null);

            Assert.IsNotNull(result);
            Assert.IsTrue(result.Count == 0);
        }
Esempio n. 3
0
        public void ControlDataMergeAlgo2FourthTest()
        {
            var emptyData = new List <MarketDataUpdate>();

            var helper = new MergeDataHelper();
            var result = helper.Merge2DataTest(emptyData.ToArray());

            CheckControlFourthDataResult(result);
        }
Esempio n. 4
0
        public void ControlDataMergeAlgo2SecondTest()
        {
            var testMarketDataDource = getSecondTestData();

            var helper = new MergeDataHelper();
            var result = helper.Merge2DataTest(testMarketDataDource.ToArray());

            CheckSecondControlDataResult(result);
        }