|
Revision 475
(checked in by rachel, 6 years ago)
|
Add results comparison to Literal Data test
Add binary data test for Literal Data test
|
| Line | |
|---|
| 1 |
#ifndef __TESTS__ |
|---|
| 2 |
#define __TESTS_ |
|---|
| 3 |
|
|---|
| 4 |
#include <assert.h> |
|---|
| 5 |
#include <stdio.h> |
|---|
| 6 |
#include <string.h> |
|---|
| 7 |
#include <stdlib.h> |
|---|
| 8 |
#include <unistd.h> |
|---|
| 9 |
#include <fcntl.h> |
|---|
| 10 |
#include <sys/stat.h> |
|---|
| 11 |
#include <sys/types.h> |
|---|
| 12 |
|
|---|
| 13 |
int mktmpdir(); |
|---|
| 14 |
extern char dir[]; |
|---|
| 15 |
void create_testtext(const char *text, char *buf, const int maxlen); |
|---|
| 16 |
void create_testdata(const char *text, unsigned char *buf, const int maxlen); |
|---|
| 17 |
#define MAXBUF 128 |
|---|
| 18 |
|
|---|
| 19 |
#endif |
|---|
| 20 |
|
|---|