From 8cdfb9fedb70bbee1a5cbfb86fdef36770337326 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sat, 22 Feb 2014 20:25:41 +0000 Subject: [PATCH] Added tests base --- c/tests.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 c/tests.c diff --git a/c/tests.c b/c/tests.c new file mode 100644 index 0000000..78fdef5 --- /dev/null +++ b/c/tests.c @@ -0,0 +1,32 @@ +/* + * tests.c + * + * Created on: 22.02.2014 + * Author: qwc + */ + +#include "cmdlineoptions.h" + +void configureDefaultSet(){ + CmdLO_Init(1); + CmdLO_Add("test", "--test"); + CmdLO_Add("test", "-t"); + CmdLO_Add("example", "--example"); + CmdLO_Add("example", "-e"); + CmdLO_Add("something", "-s"); + CmdLO_AddDefaultParameter("something", "sometest"); + CmdLO_AddDescription("test","Well, this is a test command line option."); + CmdLO_AddDescription("example", "An example commandline option"); + CmdLO_AddPossibleParameter("example","test"); + CmdLO_AddPossibleParameter("example","test2"); +} + + +int main(int argc, char** argv) { + + + + return 0; +} + +