summaryrefslogtreecommitdiff
path: root/src/tests/test.h
blob: 456c9e26d8f71e70035fdd5356a86d1ff478c0a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef TESTS_H
#define TESTS_H

typedef struct {
    char *Name;
    // The test function. If it returns an error message 
    // the test is concidered as failed
    char *(*Function)();
} UnitTest;

char *reportError(const char *format, ...);

// ========== TESTS ==========

char *ArenaAllocation();
char *ArenaOutOfMemory();
char *difficultyCalculator();
char *timerPrintDisplay();

#endif // TESTS_H