Commit 28c30a93 authored by jkvis's avatar jkvis

Added test framework example: multiple tests with shared objects

parent 0cd7bf14
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "../include/gesa.h"
#include "utils.h"
int main(int argc, char* argv[])
{
(void) argc;
(void) argv;
printf("version: %s\n", version());
printf("test 1\n");
return EXIT_SUCCESS;
} // main
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "../include/gesa.h"
#include "utils.h"
int main(int argc, char* argv[])
{
(void) argc;
(void) argv;
printf("version: %s\n", version());
printf("test 2\n");
return EXIT_SUCCESS;
} // main
#include "utils.h"
char const* version(void)
{
return "v0.0.1";
} // version
#if !defined(__utils_h__)
#define __utils_h__
char const* version(void);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment