diff options
author | Maximilian Szengel <gnunet@maxsz.de> | 2012-08-23 16:30:39 +0000 |
---|---|---|
committer | Maximilian Szengel <gnunet@maxsz.de> | 2012-08-23 16:30:39 +0000 |
commit | 09f394f4f8fc77de47857adf9b8630136d930005 (patch) | |
tree | a461aacf16a90e371fb41360d2c6e3c2305c856a /src/regex/test_regex_eval_api.c | |
parent | 701f3aaab234871e99915e41a57cae14da9f4b09 (diff) |
- added check for automaton traversal
- fixed a bug that caused nfa's state_count to be incorrect for certain regexes
- only compute scc's when coloring option is set
Diffstat (limited to 'src/regex/test_regex_eval_api.c')
-rw-r--r-- | src/regex/test_regex_eval_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/test_regex_eval_api.c b/src/regex/test_regex_eval_api.c index 2de7d40b26..a4b183127b 100644 --- a/src/regex/test_regex_eval_api.c +++ b/src/regex/test_regex_eval_api.c @@ -348,8 +348,8 @@ main (int argc, char *argv[]) /* Random tests */ srand (time (NULL)); - for (i = 0; i < 50; i++) - check_rand += test_random (50, 60, 30); + for (i = 0; i < 20; i++) + check_rand += test_random (50, 60, 10); return check_nfa + check_dfa + check_rand; } |