예제 #1
0
 public void EnableCompressionInt()
 {
     Database db = new Database();
     try {
         db.Create("ntest.db");
         db.EnableCompression(999);
     }
     catch (DatabaseException e) {
         Assert.AreEqual(HamConst.HAM_INV_PARAMETER, e.ErrorCode);
     }
     db.Close();
 }
예제 #2
0
 public void EnableCompression()
 {
     Database db = new Database();
     db.Create("ntest.db");
     db.EnableCompression();
     db.Close();
 }