diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-04-16 17:51:05 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-04-16 17:51:05 +0200 |
| commit | 81708be1d1784f41343530e8e01a68094bc50da6 (patch) | |
| tree | e9894214d6bdf551e6ef1496a7483bffd3e79a77 /test/101_gendata_eoesep | |
| parent | 5378be20bc24ea0c8681da17d0585ee6ff82f788 (diff) | |
| download | nissy-core-81708be1d1784f41343530e8e01a68094bc50da6.tar.gz nissy-core-81708be1d1784f41343530e8e01a68094bc50da6.zip | |
Failed attempts to fix / debug eoesep + other changes
Diffstat (limited to 'test/101_gendata_eoesep')
| -rw-r--r-- | test/101_gendata_eoesep/00_all.in | 0 | ||||
| -rw-r--r-- | test/101_gendata_eoesep/00_all.out | 1 | ||||
| -rw-r--r-- | test/101_gendata_eoesep/gendata_eoesep_tests.c | 22 |
3 files changed, 23 insertions, 0 deletions
diff --git a/test/101_gendata_eoesep/00_all.in b/test/101_gendata_eoesep/00_all.in new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/101_gendata_eoesep/00_all.in | |||
diff --git a/test/101_gendata_eoesep/00_all.out b/test/101_gendata_eoesep/00_all.out new file mode 100644 index 0000000..deba01f --- /dev/null +++ b/test/101_gendata_eoesep/00_all.out | |||
| @@ -0,0 +1 @@ | |||
| something | |||
diff --git a/test/101_gendata_eoesep/gendata_eoesep_tests.c b/test/101_gendata_eoesep/gendata_eoesep_tests.c new file mode 100644 index 0000000..e03e95d --- /dev/null +++ b/test/101_gendata_eoesep/gendata_eoesep_tests.c | |||
| @@ -0,0 +1,22 @@ | |||
| 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_eoesep(uint8_t, uint8_t, 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_eoesep(0U, 4U, buf_c, buf_e); | ||
| 18 | |||
| 19 | printf("nothing\n"); | ||
| 20 | |||
| 21 | return 0; | ||
| 22 | } | ||
