public void AgeConstructorTest() { string initValue = "64"; Age target = new Age(initValue); Assert.AreEqual(target.Value, initValue, "object should have same value after construction"); }
public void getYouTubeExtensionTest() { YouTubeBaseEntry target = CreateYouTubeBaseEntry(); // TODO: Initialize to an appropriate value SimpleElement age = new Age(); SimpleElement actual ; target.ExtensionElements.Add(age); actual = target.getYouTubeExtension(YouTubeNameTable.Age); Assert.AreEqual(age, actual); }
public void AgeConstructorTest1() { Age target = new Age(); Assert.IsNull(target.Value, "Object value should be null after construction"); }