public void IsPalindromeThrowTest(string input, Type expectedException) { var sut = new BaseTypeTransformsService(); Assert.Throws(expectedException, () => sut.IsPalindrome(input)); }
public void MissingElementsThrowTest(int[] arr, Type expectedException) { var sut = new BaseTypeTransformsService(); Assert.Throws(expectedException, () => sut.MissingElements(arr)); }
public void ReverseStringThrowTest(string input, Type expectedException) { var sut = new BaseTypeTransformsService(); Assert.Throws(expectedException, () => sut.ReverseString(input)); }