示例#1
0
 public void DurationConstructorTest()
 {
     string initValue = "secret test string";
     Duration target = new Duration(initValue);
     Assert.AreEqual(target.Value, initValue, "Object value should be identical after construction");
 }
示例#2
0
 public void DurationConstructorTest1()
 {
     Duration target = new Duration();
     Assert.AreEqual(target.Value, null, "object value should be null after construction");
 }