Пример #1
0
 public void ToDecimalConverter_11111111111111111111111111111111_OverflowException()
 => Assert.Throws <OverflowException>(() => ToDecimal.ToDecimalConverter("11111111111111111111111111111111", 2));
Пример #2
0
 public void ToDecimalConverter_WithNull_ThrowArgumentNullException()
 => Assert.Throws <ArgumentException>(() => ToDecimal.ToDecimalConverter(null, 5));
Пример #3
0
 public int ToDecimalConverter_SomeNumber_SomeNumberIn10Notation(string numberString, int notation)
 => ToDecimal.ToDecimalConverter(numberString, notation);