public void CSVConvertTest() { ConfigLoader _testloader = new ConfigLoader(); _testloader.Load(); DataDownloader _testDownloader = new DataDownloader(_testloader.classConfigResult); _testDownloader.DataDownload(); ProcessorFactory _testFactory = new ProcessorFactory(_testloader.classConfigResult); CSVProcessor _processor = _testFactory.GetYourProcessor() as CSVProcessor; Way _way = _processor.Process(_testDownloader.strDownloadData , _testloader.classConfigResult); Console.WriteLine(_way.Nodes.Count); Assert.IsNotNull(_way.Nodes); }
public void ProcessorFactoryTest() { ConfigLoader _testloader = new ConfigLoader(); _testloader.Load(); ProcessorFactory _testFactory = new ProcessorFactory(_testloader.classConfigResult); Assert.IsNotNull(_testFactory.GetYourProcessor()); }