Пример #1
0
        public void SumMultiplesOf3Or5(int value, int expected)
        {
            // arrange
            KataSolutions katasolutions = new KataSolutions();

            // act
            int actual = KataSolutions.Solution(value);

            // assert
            Assert.Equal(expected, actual);
        }
Пример #2
0
        public void FirstEndsWithSecond(string str, string end, bool expected)
        {
            // arrange
            KataSolutions katasolutions = new KataSolutions();

            // act
            bool actual = KataSolutions.Solution(str, end);

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