diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/102_gendata_esep/gendata_esep_tests.c | 22 | ||||
| -rw-r--r-- | test/102_gendata_h48/00_all.in (renamed from test/102_gendata_esep/00_all.in) | 0 | ||||
| -rw-r--r-- | test/102_gendata_h48/00_all.out (renamed from test/102_gendata_esep/00_all.out) | 0 | ||||
| -rw-r--r-- | test/102_gendata_h48/gendata_h48_tests.c | 18 |
4 files changed, 18 insertions, 22 deletions
diff --git a/test/102_gendata_esep/gendata_esep_tests.c b/test/102_gendata_esep/gendata_esep_tests.c deleted file mode 100644 index bc7ce25..0000000 --- a/test/102_gendata_esep/gendata_esep_tests.c +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | #include "../test.h" | ||
| 2 | |||
| 3 | #define CSIZE 1200000 | ||
| 4 | #define ESIZE 250000000 | ||
| 5 | |||
| 6 | uint32_t buf_c[CSIZE/4]; | ||
| 7 | uint32_t buf_e[ESIZE/4]; | ||
| 8 | |||
| 9 | size_t gendata_cocsep(void *); | ||
| 10 | size_t gendata_esep(const void *, void *); | ||
| 11 | |||
| 12 | int main(void) { | ||
| 13 | uint32_t i; | ||
| 14 | size_t result; | ||
| 15 | |||
| 16 | gendata_cocsep(buf_c); | ||
| 17 | result = gendata_esep(buf_c, buf_e); | ||
| 18 | |||
| 19 | printf("nothing\n"); | ||
| 20 | |||
| 21 | return 0; | ||
| 22 | } | ||
diff --git a/test/102_gendata_esep/00_all.in b/test/102_gendata_h48/00_all.in index e69de29..e69de29 100644 --- a/test/102_gendata_esep/00_all.in +++ b/test/102_gendata_h48/00_all.in | |||
diff --git a/test/102_gendata_esep/00_all.out b/test/102_gendata_h48/00_all.out index deba01f..deba01f 100644 --- a/test/102_gendata_esep/00_all.out +++ b/test/102_gendata_h48/00_all.out | |||
diff --git a/test/102_gendata_h48/gendata_h48_tests.c b/test/102_gendata_h48/gendata_h48_tests.c new file mode 100644 index 0000000..f918e4d --- /dev/null +++ b/test/102_gendata_h48/gendata_h48_tests.c | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | #include "../test.h" | ||
| 2 | |||
| 3 | #define H 0 | ||
| 4 | #define SIZE (120000000 << (H)) | ||
| 5 | |||
| 6 | uint32_t buf[SIZE]; | ||
| 7 | |||
| 8 | size_t gendata_h48(void *, uint8_t); | ||
| 9 | |||
| 10 | int main(void) { | ||
| 11 | size_t result; | ||
| 12 | |||
| 13 | result = gendata_h48(buf, H); | ||
| 14 | |||
| 15 | printf("nothing\n"); | ||
| 16 | |||
| 17 | return 0; | ||
| 18 | } | ||
