public void GivenValidInput_FieldsAreAcquired()
        {
            var battlefield = new Battlefield();

            Field[,] fields = new Field[10, 10];
            Assert.True(battlefield.AcquireFields(fields));
        }
        public void GivenInvalidInput_FieldsAreNotAcquired()
        {
            var battlefield = new Battlefield();

            Field[,] fieldsInvalid = new Field[11, 11];
            Assert.False(battlefield.AcquireFields(fieldsInvalid));
        }
        public void AfterShootingField_GetFieldStillReturnsTheSameField()
        {
            var battlefield = new Battlefield();

            Field[,] fields = new Field[10, 10];
            InitializeFields(fields);
            battlefield.AcquireFields(fields);
            Assert.False(battlefield.GetField(3, 9).IsShot());
            battlefield.GetField(3, 9).Shoot();
            Assert.True(battlefield.GetField(3, 9).IsShot());
        }
        public void AfterAcquiringFields_GetFieldReturnsCorrectField()
        {
            var battlefield = new Battlefield();

            Field[,] fields = new Field[10, 10];
            InitializeFields(fields);
            var someField = fields[4, 7];

            Assert.True(battlefield.AcquireFields(fields));
            Assert.Equal(someField, battlefield.GetField(4, 7));
        }