diff --git a/README.txt b/README.txt new file mode 100644 index 0000000000000000000000000000000000000000..dedb47279310c291ca27a63af9819370addd743c --- /dev/null +++ b/README.txt @@ -0,0 +1,31 @@ +Monad Autograder (c) Jack Toole + +Usage: monad ASSIGNMENT [options] + +Runs the tests for ASSIGNMENT (mp1, lab01, ...) + +'../ASSIGNMENT/' must exist +If '../ASSIGNMENT_tests/' or any necessary library directories do not exist, these will be downloaded to ./ from SVN + +monad settings and individual test settings are stored in config.ini files +The following options are available for monad's ./config.ini: +[SVN Root] +; svn base url here (http://.../cs225/) +[Monad Files] +; Any files to be copied from monad ./ to ./ASSIGNMENT/ testing directory +; By default, proxy.cpp is used to run test cases: +proxy.cpp + +The following options are available for individual tests' ../ASSIGNMENT_tests/config.ini: +[Required Files] +; Any files that must be copied from the ../ASSIGNMENT directory +main.cpp +[Testing Files] +; Any files that must be copied from ../ASSIGNMENT_tests +; By default, unit_tests.cpp contains the test cases +unit_tests.cpp +[Libraries] +; Any external library folders to be present in the same directory as the +; testing directory. These should be mirrored in [SVN Root]/_public/ +; The 'testutil' library in this directory is also available +EasyBMP diff --git a/help.cpp b/help.cpp new file mode 100644 index 0000000000000000000000000000000000000000..ddf8885e61067977f16eaccf41ed32dccb3d3a93 --- /dev/null +++ b/help.cpp @@ -0,0 +1,13 @@ +#include "monad.h" + +namespace monad +{ + +void printHelp() +{ + cout +#include "README.cpp" + ; +} + +} diff --git a/monad.h b/monad.h new file mode 100644 index 0000000000000000000000000000000000000000..dec4356398760e1f188c6a86b05e560422b0e02e --- /dev/null +++ b/monad.h @@ -0,0 +1,29 @@ +#ifndef MONAD_H +#define MONAD_H + +#include <iostream> +#include <fstream> +#include <map> +#include <sstream> +#include <stdlib.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <time.h> +#include <unistd.h> +#include <vector> + +#include "util.h" +#include "monad_shared.h" + +using namespace std; +using namespace util; +using namespace monad_shared; + +namespace monad +{ + +void printHelp(); + +} + +#endif // MONAD_H