Пример #1
0
        public void printResults_empty()
        {
            int[]        arr          = { 0 };
            TextMatching s            = new TextMatching();
            string       textMatching = s.PrintResults(arr);

            Assert.AreEqual(null, textMatching);
        }
Пример #2
0
        public void printResults_invalidValues()
        {
            int[]        arr          = new int[] { 1, 2, 3, -1, 5, 6, 7, 8, 9 };
            TextMatching s            = new TextMatching();
            string       textMatching = s.PrintResults(arr);

            Assert.AreEqual("1,2,3", textMatching);
        }