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"); }
public void DurationConstructorTest1() { Duration target = new Duration(); Assert.AreEqual(target.Value, null, "object value should be null after construction"); }