コード例 #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);
        }