+const struct option long_options[]={
+ {"help", 0,NULL,'h'},
+ {"quiet", 0,NULL,'q'},
+ {"number", 1,NULL,'n'},
+ {"trace", 1,NULL,'t'},
+ {"continue", 0,NULL,'c'},
+ {"verbose", 0,NULL,'v'}
+};
+
+const char short_options[]="hqn:t:cv";
+
+
+
+int main(int argc, char *argv[])
+{
+ int x=0;
+
+ init_quick_tests(argc, argv);
+ logical_run_of_tests();
+ for (x=0;x<number_of_random_tests;x ++){
+ run_random_test_loop();
+ }
+ /*this is where the loop should break to*/
+ quit_quick_tests(0);
+}
+
+
+void run_random_test_loop(void)
+{
+ int id=0;
+ int x=0;
+ int run_list[total_number_of_tests];
+ for (x=0;x<total_number_of_tests;x++){
+ id = (rand() % (total_number_of_tests-1));
+ run_test(id);
+ }
+}
+
+void logical_run_of_tests(void)
+{
+ unsigned int x=0;