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

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

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

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

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

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

            CheckSecondControlDataResult(result);
        }