示例#1
0
        public void Given_MultidimensionalArray_When_CheckingThatAllMatch_Then_CorrectValueReturned(
            string[,] data, Func <string, bool> checkerFunction, bool expectedResult)
        {
            bool result = data.All(checkerFunction);

            Assert.AreEqual(expectedResult, result, "Check that all match should return the correct result");
        }