You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1648 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
In test/bdd.ml, I think
let succeeded = ref true in
for i = 1 to ntests do
succeeded := !succeeded || (* Look here! *) test_hwb bdd (random_vars n)
done;
should instead read
let succeeded = ref true in
for i = 1 to ntests do
succeeded := !succeeded && test_hwb bdd (random_vars n)
done;
otherwise "test_hwb" never gets called and the script is guaranteed to
print "OK" any time it doesn't fail.
Unfortunately, if I make this change, the script does fail when it
references an array out of bounds.
--
Tim Freeman tim@fungible.com
Which is worse: ignorance or apathy? Who knows? Who cares?
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
The text was updated successfully, but these errors were encountered:
Original bug ID: 1648
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
In test/bdd.ml, I think
let succeeded = ref true in
for i = 1 to ntests do
succeeded := !succeeded || (* Look here! *) test_hwb bdd (random_vars n)
done;
should instead read
let succeeded = ref true in
for i = 1 to ntests do
succeeded := !succeeded && test_hwb bdd (random_vars n)
done;
otherwise "test_hwb" never gets called and the script is guaranteed to
print "OK" any time it doesn't fail.
Unfortunately, if I make this change, the script does fail when it
references an array out of bounds.
--
Tim Freeman tim@fungible.com
Which is worse: ignorance or apathy? Who knows? Who cares?
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
The text was updated successfully, but these errors were encountered: