public void TestFilterDigitMax() { var value7 = FilterDigitCls.FilterDigit(int.MaxValue, int.MaxValue, int.MinValue, 10, -10, 0, 150, 7984900, int.MinValue, int.MinValue, int.MaxValue, int.MaxValue); Assert.IsTrue(CheckArrays(new int[] { int.MaxValue, int.MaxValue, int.MaxValue }, value7)); }
public void TestFilterDigit() { var value7 = FilterDigitCls.FilterDigit(7, 1, 2, 3, 4, 5, 6, 7, 68, 69, 70, 15, 17); Assert.IsTrue(CheckArrays(new int[] { 7, 70, 17 }, value7)); }
public void TestFilterDigitNull() { Assert.ThrowsException <ArgumentNullException>(() => FilterDigitCls.FilterDigit(7, null)); }
public int[] TestFilterDigit(int main, params int[] arr) { return(FilterDigitCls.FilterDigit(main, arr)); }