-unit_test_equals("sin[0] == 0", ...
- 0, ...
- divided_difference(@sin, 0));
+test_files = glob('tests/*.m');
+
+loop_count = 1;
+arg_list = argv();
+if (length(arg_list) > 0)
+ loop_count = str2num(arg_list{1});
+end
+
+## Source every file that matches the glob above.
+for idx = [ 1 : loop_count ]
+ cellfun(@source, test_files);
+end