diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-03-30 18:40:02 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-03-30 18:40:02 +0100 |
| commit | c14e780551c4e7aa88d99b226b12f7cdd7b92527 (patch) | |
| tree | df663976f093b6446d8470c078bc105a541a9857 /test/100_gendata_cocsep | |
| parent | ec564e62dcfe701b5ee3111b92c7d72ffd0dda6c (diff) | |
| download | nissy-core-c14e780551c4e7aa88d99b226b12f7cdd7b92527.tar.gz nissy-core-c14e780551c4e7aa88d99b226b12f7cdd7b92527.zip | |
Added cocsep data generation, but it is very slow
Diffstat (limited to 'test/100_gendata_cocsep')
| -rw-r--r-- | test/100_gendata_cocsep/00_all.in | 0 | ||||
| -rw-r--r-- | test/100_gendata_cocsep/00_all.out | 1 | ||||
| -rw-r--r-- | test/100_gendata_cocsep/gendata_cocsep_tests.c | 14 |
3 files changed, 15 insertions, 0 deletions
diff --git a/test/100_gendata_cocsep/00_all.in b/test/100_gendata_cocsep/00_all.in new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/100_gendata_cocsep/00_all.in | |||
diff --git a/test/100_gendata_cocsep/00_all.out b/test/100_gendata_cocsep/00_all.out new file mode 100644 index 0000000..37b8c1d --- /dev/null +++ b/test/100_gendata_cocsep/00_all.out | |||
| @@ -0,0 +1 @@ | |||
| 1119788 | |||
diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c new file mode 100644 index 0000000..19dfa9f --- /dev/null +++ b/test/100_gendata_cocsep/gendata_cocsep_tests.c | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #include "../test.h" | ||
| 2 | |||
| 3 | size_t gendata_cocsep(void *); | ||
| 4 | |||
| 5 | int main(void) { | ||
| 6 | uint32_t buf[300000]; | ||
| 7 | size_t result; | ||
| 8 | |||
| 9 | result = gendata_cocsep(buf); | ||
| 10 | |||
| 11 | printf("%zu\n", result); | ||
| 12 | |||
| 13 | return 0; | ||
| 14 | } | ||
