Пример #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");
 }
Пример #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);
 }
Пример #3
0
 public void AgeConstructorTest1()
 {
     Age target = new Age();
     Assert.IsNull(target.Value,  "Object value should be null after construction");
 }