コード例 #1
0
        public MazeCrawlerQueen(IMazeCrawlerSpawner spawner, ILogger <MazeCrawlerQueen> logger)
        {
            Id     = Guid.NewGuid().ToString();
            Logger = logger;

            _spawner = spawner;
        }
コード例 #2
0
 public MazeCrawlerQueenTests()
 {
     _spawner = Substitute.For <IMazeCrawlerSpawner>();
     _queen   = new MazeCrawlerQueen(_spawner, Substitute.For <ILogger <MazeCrawlerQueen> >());
 }