Eirbot1A-2020
test.hpp
1
#ifndef __TEST_H_
2
#define __TEST_H_
3
4
#include <vector>
5
#include <iostream>
6
#include <stdio.h>
7
#include <math.h>
8
#include <array>
9
#include <cfloat>
10
#include <cstring>
11
#include <assert.h>
12
#include <string.h>
13
14
#define SHELL_SUCCESS "\e[32m"
15
#define SHELL_INFO "\e[34m"
16
#define SHELL_END "\e[0m"
17
#define TEST_BEGIN printf("\n\033[34mRunning test %s()...\033[0m\n", __func__)
18
#define TEST_END printf("\033[34mEnding test %s()\033[0m \t%sSUCCESS%s\n \n",__func__, SHELL_SUCCESS, SHELL_END)
19
#define TEST_SKIPPED printf("\t%sSKIPPED\n%s", SHELL_INFO, SHELL_END)
20
21
int
main(
int
argc,
char
*argv[]);
22
23
#endif // __TEST_H_
Protocole
Contient toutes les méthodes permettant d'utiliser le protocole côté nucléo.
Definition:
Protocole_nucleo.hpp:26
code
rasp
tst
test.hpp
Généré par
1.8.20