Exemplo n.º 1
0
 public void AgeConstructorTest()
 {
     string initValue = "64";
     Age target = new Age(initValue);
     Assert.AreEqual(target.Value, initValue, "object should have same value after construction");
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public void AgeConstructorTest1()
 {
     Age target = new Age();
     Assert.IsNull(target.Value,  "Object value should be null after construction");
 }