Exemplo n.º 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);
 }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public void Check(TestA_Class other)
 {
     Assert.AreEqual(this.a, other.a);
     Assert.AreEqual(this.b, other.b);
     Assert.AreEqual(this.c, other.c);
     Assert.AreEqual(this.d, other.d);
     Assert.AreEqual(this.e, other.e);
     Assert.AreEqual(this.f, other.f);
     Assert.AreEqual(this.g, other.g);
     Assert.AreEqual(this.h, other.h);
     Assert.AreEqual(this.i, other.i);
     Assert.AreEqual(this.j, other.j);
     Assert.AreEqual(this.k, other.k);
     Assert.AreEqual(this.l, other.l);
     Assert.AreEqual(this.m, other.m);
 }
Exemplo n.º 4
0
 public void Check(TestA_Class other)
 {
     Assert.AreEqual (this.a, other.a);
     Assert.AreEqual (this.b, other.b);
     Assert.AreEqual (this.c, other.c);
     Assert.AreEqual (this.d, other.d);
     Assert.AreEqual (this.e, other.e);
     Assert.AreEqual (this.f, other.f);
     Assert.AreEqual (this.g, other.g);
     Assert.AreEqual (this.h, other.h);
     Assert.AreEqual (this.i, other.i);
     Assert.AreEqual (this.j, other.j);
     Assert.AreEqual (this.k, other.k);
     Assert.AreEqual (this.l, other.l);
     Assert.AreEqual (this.m, other.m);
 }