regards
Sorry, could someone tell me what the correct way to indicate in b4a,
in particular "assertEquals?"
thanks
public void testGeometryRepresentation01 () throws Exception {
Db.prepare stmt01 Stmt = ("SELECT name, villages, HEX (geometry) of villages where people> 350,000 for peoples DESC;");
if (stmt01.step ()) {
assertEquals ("Gypsies" stmt01.column_string (0));
assertEquals ("2546804", stmt01.column_string (1));
assertEquals ("040", stmt01.column_string (2));
Else {}
fail ("Query failed");
}
stmt01.close ();
Sorry, could someone tell me what the correct way to indicate in b4a,
in particular "assertEquals?"
thanks
public void testGeometryRepresentation01 () throws Exception {
Db.prepare stmt01 Stmt = ("SELECT name, villages, HEX (geometry) of villages where people> 350,000 for peoples DESC;");
if (stmt01.step ()) {
assertEquals ("Gypsies" stmt01.column_string (0));
assertEquals ("2546804", stmt01.column_string (1));
assertEquals ("040", stmt01.column_string (2));
Else {}
fail ("Query failed");
}
stmt01.close ();