public void VerifySnprogCanBeSerialized() { var expected = new JET_SNPROG { cunitDone = 10, cunitTotal = 11 }; SerializeAndCompare(expected); }
public void JetSnprogToString() { var snprog = new JET_SNPROG { cunitDone = 5, cunitTotal = 10 }; Assert.AreEqual("JET_SNPROG(5/10)", snprog.ToString()); }
public void Setup() { this.native = new NATIVE_SNPROG { cbStruct = checked ((uint)NATIVE_SNPROG.Size), cunitDone = 2, cunitTotal = 7, }; this.managed = new JET_SNPROG(); this.managed.SetFromNative(this.native); }