fix crash of randaut -Q0
* src/twaalgos/randomgraph.cc: Replace an assertion by an exception. * src/bin/randaut.cc: Diagnose -Q0. * src/tests/randaut.test: Test it. * NEWS: Mention the bug.
This commit is contained in:
parent
cd2e527526
commit
6cf807da6e
4 changed files with 10 additions and 1 deletions
|
|
@ -144,4 +144,7 @@ grep 'randaut: --colored requires' stderr
|
|||
$randaut -S -A'parity min even 0..3' -q -n10 --colored 2 2>stderr && exit 1
|
||||
grep 'randaut: --colored requires' stderr
|
||||
|
||||
$randaut -Q0 1 2>stderr && exit 1
|
||||
grep '0 states' stderr
|
||||
|
||||
:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue