public void ExtractAllDoubleTestNullCheck1() { // ReSharper disable once AssignNullToNotNullAttribute // ReSharper disable once ReturnValueOfPureMethodIsNotUsed Action test = () => StringEx.ExtractAllDouble(null, 10); test.ShouldThrow <ArgumentNullException>(); }
public void ExtractAllDoubleTestNullCheck() { // ReSharper disable once AssignNullToNotNullAttribute // ReSharper disable once ReturnValueOfPureMethodIsNotUsed Action test = () => StringEx.ExtractAllDouble(null); Assert.Throws <ArgumentNullException>(test); }