int gtk_module_init (gint argc, char* argv[]) { gboolean b_ret; g_print("State Set test module loaded\n"); b_ret = test_state_set (); if (b_ret) { g_print ("State Set tests succeeded\n"); } else { g_print ("State Set tests failed\n"); } b_ret = test_state (); if (b_ret) { g_print ("State tests succeeded\n"); } else { g_print ("State tests failed\n"); } return 0; }
int main (gint argc, char* argv[]) { gboolean b_ret; g_print("Starting State Set test suite\n"); b_ret = test_state_set (); if (b_ret) { g_print ("State Set tests succeeded\n"); } else { g_print ("State Set tests failed\n"); } b_ret = test_state (); if (b_ret) { g_print ("State tests succeeded\n"); } else { g_print ("State tests failed\n"); } return 0; }