15 lines
438 B
C
15 lines
438 B
C
|
#ifndef TESTS_H
|
||
|
#define TESTS_H
|
||
|
#include <string.h>
|
||
|
#include <stdio.h>
|
||
|
#define TEST_SOURCE "HeLlo world!\0It's a\tBEAUTIFUL\tday!"
|
||
|
#define TEST_SOURCE_LENGHT 35
|
||
|
#define TEST_DESTINATION "GooDBye\0and thanks \tfor\rall the fish!"
|
||
|
#define TEST_DESTINATION_LENGHT 38
|
||
|
#define FG_WHT "\x1B[37m"
|
||
|
#define FG_MAG "\x1B[35m"
|
||
|
#define COLOR_RESET "\x1B[0m"
|
||
|
#endif
|
||
|
int bufcmp(char *this, char *other, int len);
|
||
|
void dump(char *data, int len);
|