コード例 #1
0
 public void ThrowExceptionOutOfRange(Decimal input)
 {
     Assert.Throws<ArgumentOutOfRangeException>(() =>
     {
         input.FormatAsTime();
     });
 }
コード例 #2
0
 public string CorrectResult(Decimal input)
 {
     return input.FormatAsTime();
 }