Пример #1
0
        public void CountXX(string str, int expected)
        {
            Loops obj = new Loops();

            int actual = obj.CountXX(str);

            Assert.AreEqual(expected, actual);
        }
Пример #2
0
        public void CountXX(string a, int expected)
        {
            // arrange
            Loops obj = new Loops();

            // act
            int actual = obj.CountXX(a);

            // assert
            Assert.AreEqual(expected, actual);
        }