示例#1
0
 public void TestA()
 {
     ObjectPacker packer = new ObjectPacker ();
     TestA_Class obj0 = new TestA_Class ();
     TestA_Class obj1 = packer.Unpack<TestA_Class> (packer.Pack (obj0));
     obj0.Check (obj1);
 }
示例#2
0
        public void TestA()
        {
            ObjectPacker packer = new ObjectPacker();
            TestA_Class  obj0   = new TestA_Class();
            TestA_Class  obj1   = packer.Unpack <TestA_Class> (packer.Pack(obj0));

            obj0.Check(obj1);
        }
示例#3
0
 public void Check(TestB_Class other)
 {
     x.Check(other.x);
     if (nested != null)
     {
         nested.Check(other.nested);
     }
     Assert.AreEqual(list, other.list);
 }