Пример #1
0
        public void EveryNthtest(string str, int n, string expected)
        {
            Conditionals test   = new Conditionals();
            string       actual = test.EveryNth(str, n);

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

            // act
            string actual = obj.EveryNth(a, b);

            // assert
            Assert.AreEqual(expected, actual);
        }
        public void EveryNthTest(string s, int n, string expected)
        {
            var actual = _conditionals.EveryNth(s, n);

            Assert.AreEqual(expected, actual);
        }
Пример #4
0
        public void EveryNthTest(string s, int n, string expected)
        {
            string actual = obj.EveryNth(s, n);

            Assert.AreEqual(expected, actual);
        }