public void VerifyValidityCatchesNegativeCIndexes() { var x = new JET_TABLECREATE() { rgcolumncreate = null, cIndexes = -1, }; var y = new JET_TABLECREATE(); Assert.IsFalse(x.ContentEquals(y)); }
public void VerifyValidityCatchesCColumnsTooBig() { var x = new JET_TABLECREATE() { rgcolumncreate = new JET_COLUMNCREATE[] { new JET_COLUMNCREATE(), new JET_COLUMNCREATE(), }, cColumns = 10, }; var y = new JET_TABLECREATE(); Assert.IsFalse(x.ContentEquals(y)); }
public void VerifyValidityCatchesCIndexesTooBig() { var x = new JET_TABLECREATE() { rgindexcreate = new JET_INDEXCREATE[] { new JET_INDEXCREATE(), new JET_INDEXCREATE(), }, cIndexes = 10, }; var y = new JET_TABLECREATE(); Assert.IsFalse(x.ContentEquals(y)); }
public void VerifyValidityCatchesNegativeCIndexes() { var x = new JET_TABLECREATE() { rgcolumncreate = null, cIndexes = -1, }; var y = new JET_TABLECREATE(); Assert.IsFalse(x.ContentEquals(y)); }
public void VerifyValidityCatchesCIndexesTooBig() { var x = new JET_TABLECREATE() { rgindexcreate = new JET_INDEXCREATE[] { new JET_INDEXCREATE(), new JET_INDEXCREATE(), }, cIndexes = 10, }; var y = new JET_TABLECREATE(); Assert.IsFalse(x.ContentEquals(y)); }
public void VerifyValidityCatchesCColumnsTooBig() { var x = new JET_TABLECREATE() { rgcolumncreate = new JET_COLUMNCREATE[] { new JET_COLUMNCREATE(), new JET_COLUMNCREATE(), }, cColumns = 10, }; var y = new JET_TABLECREATE(); Assert.IsFalse(x.ContentEquals(y)); }