Added tests base

This commit is contained in:
Marcel 2014-02-22 20:25:41 +00:00
parent d322d4b51d
commit 8cdfb9fedb
1 changed files with 32 additions and 0 deletions

32
c/tests.c Normal file
View File

@ -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;
}