Ejemplo n.º 1
0
        public void MaxPath()
        {
            IDataSource      dataSource = new DataSource.DataSource();
            IDecisionService service    = new DecisionService(dataSource);

            Assert.True(service.GetTreeMaxpath() >= 3);

            dataSource = new DataSource.DataSource(null);
            service    = new DecisionService(dataSource);
            Assert.True(service.GetTreeMaxpath() == 0);
        }