Browse Source

Added helper lib to mock std. func.

remotes/origin/encounter
János 2 years ago
parent
commit
081739ea4e
  1. 6
      src/c/helper.c
  2. 7
      src/c/helper.h

6
src/c/helper.c

@ -0,0 +1,6 @@
#include "helper.h"
int randomInt()
{
return rand();
}

7
src/c/helper.h

@ -0,0 +1,7 @@
#ifndef HELPER_H
#define HELPER_H
//erlaubt es z.b. rand() zu mocken
int randomInt;
#endif
Loading…
Cancel
Save