2 * Simple test case for array manipulations.
5 #include "../helper/array.h"
7 #include <gammu-smsd.h>
8 #include "../smsd/services/sql.h" /* For SMSDSQL_ParseDate */
10 int main(int argc UNUSED
, char **argv UNUSED
)
12 test_result(SMSDSQL_ParseDate(NULL
, "2005-05-24 22:53:30") > 0);
13 test_result(SMSDSQL_ParseDate(NULL
, "0000-00-00 00:00:00") == -2);
14 test_result(SMSDSQL_ParseDate(NULL
, "0000-00-00 xx:00:00") == -1);