コード例 #1
0
 public void TestAddSeconds()
 {
     Duration test = new Duration(5, 43200.0);
     Duration result = test.AddSeconds(45.123);
     Assert.AreEqual(5, result.Days);
     Assert.AreEqual(43245.123, result.Seconds);
 }