public void Setup()
        {
            _spyWriter = new Mock <IWriter>();
            _presenter = new CommandLinePresenter(_spyWriter.Object);

            _testGenerationViewModel = new GenerationViewModel(GridCreator.GetOnlyAliveCenterGrid(), 0);
        }
Esempio n. 2
0
        public void It_Should_Return_True_Given_An_Active_Center_Cell()
        {
            var aliveCenterGrid = GridCreator.GetOnlyAliveCenterGrid();

            Assert.True(_aliveCenterCellRequirement.HasMet(aliveCenterGrid));
        }