예제 #1
0
        protected override void Context()
        {
            sut = Api.GetSimulationResultsTask();
            _simulationPersister = Api.GetSimulationPersister();
            var simulationFile = HelperForSpecs.DataFile("S1.pkml");

            _simulation = _simulationPersister.LoadSimulation(simulationFile);
        }
예제 #2
0
        public override void GlobalContext()
        {
            base.GlobalContext();
            _simulationFile         = HelperForSpecs.DataFile("S1.pkml");
            _simulationPersister    = Api.GetSimulationPersister();
            _simulationBatchFactory = Api.GetSimulationBatchFactory();

            _simulation = _simulationPersister.LoadSimulation(_simulationFile);
        }
예제 #3
0
        public override void GlobalContext()
        {
            base.GlobalContext();
            _populationFile      = HelperForSpecs.DataFile("pop_10.csv");
            _simulationFile      = HelperForSpecs.DataFile("S1.pkml");
            _simulationPersister = Api.GetSimulationPersister();
            _populationTask      = Api.GetPopulationTask();
            sut = Api.GetSimulationRunner();

            _simulation = _simulationPersister.LoadSimulation(_simulationFile);
        }