示例#1
0
 public void TestDynamicDataSetConstructor()
 {
     try
     {
         DynamicDataSet target = new DynamicDataSet(dataSet);
         Assert.IsTrue(true);
     }
     catch
     { Assert.Fail("Failed to construct DynamicDataSet"); }
 }
示例#2
0
 public void TestItem()
 {
     DynamicDataSet target = new DynamicDataSet(dataSet); // TODO: Initialize to an appropriate value
     string propertyName = "MyName";
     string expected = "Put Stuff Here";
     string actual;
     actual = target[propertyName];
     Assert.AreEqual(expected, actual);
 }