diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-02-10 23:30:20 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-02-10 23:30:20 +0100 |
| commit | 3bfd0bb403d62bd942d1912d085ea59b156062fd (patch) | |
| tree | 913ddcf693d89009fa033e245b997e27211d00ef /tests/test.c | |
| parent | 374c33d1412f8f3a35dd3eb874dcaef82d60fff4 (diff) | |
| download | nissy-3bfd0bb403d62bd942d1912d085ea59b156062fd.tar.gz nissy-3bfd0bb403d62bd942d1912d085ea59b156062fd.zip | |
Added (just a few) tests for alg and added fields to alg struct
Diffstat (limited to '')
| -rw-r--r-- | tests/test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test.c b/tests/test.c index a1a382c..8961de1 100644 --- a/tests/test.c +++ b/tests/test.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | #include <stdio.h> | 1 | #include <stdio.h> |
| 2 | 2 | ||
| 3 | #include "alg_tests.h" | ||
| 3 | #include "coord_tests.h" | 4 | #include "coord_tests.h" |
| 4 | #include "fst_tests.h" | 5 | #include "fst_tests.h" |
| 5 | 6 | ||
| @@ -54,9 +55,11 @@ int main(int argc, char *argv[]) { | |||
| 54 | init_trans(); | 55 | init_trans(); |
| 55 | /**************************************/ | 56 | /**************************************/ |
| 56 | 57 | ||
| 58 | TestModule alg = { .name = "alg", .suites = alg_suites }; | ||
| 57 | TestModule fst = { .name = "fst", .suites = fst_suites }; | 59 | TestModule fst = { .name = "fst", .suites = fst_suites }; |
| 58 | TestModule coord = { .name = "coord", .suites = coord_suites }; | 60 | TestModule coord = { .name = "coord", .suites = coord_suites }; |
| 59 | TestModule *modules[999] = { | 61 | TestModule *modules[999] = { |
| 62 | &alg, | ||
| 60 | &fst, | 63 | &fst, |
| 61 | &coord, | 64 | &coord, |
| 62 | NULL | 65 | NULL |
