Esempio n. 1
0
        public void Given_MultidimensionalArray_When_CountingMatches_Then_CorrectValueReturned(
            string[,] data, Func <string, bool> checkerFunction, int expectedResult)
        {
            int result = data.Count(checkerFunction);

            Assert.AreEqual(expectedResult, result, "Counting matches should return the correct result");
        }