예제 #1
0
        public void IsPalindromeThrowTest(string input, Type expectedException)
        {
            var sut = new BaseTypeTransformsService();

            Assert.Throws(expectedException, () => sut.IsPalindrome(input));
        }
예제 #2
0
        public void MissingElementsThrowTest(int[] arr, Type expectedException)
        {
            var sut = new BaseTypeTransformsService();

            Assert.Throws(expectedException, () => sut.MissingElements(arr));
        }
예제 #3
0
        public void ReverseStringThrowTest(string input, Type expectedException)
        {
            var sut = new BaseTypeTransformsService();

            Assert.Throws(expectedException, () => sut.ReverseString(input));
        }