/** * Setup test. * * @return void */ public function setUp() { parent::setUp(); $this->dilemma = $this->app->make('TradeoffDilemma', $this->getResolution()); $this->resolution = $this->dilemma->getResolution(); $this->map = $this->resolution->getMap(); }
/** * Get an Incomplete solution. * * @return \FindBrok\TradeoffAnalytics\Support\DataCollection\Solution */ public function getAnInCompleteSolution() { return collect($this->resolution->getIncompleteSolutions(true))->random(1); }