aboutsummaryrefslogtreecommitdiff
path: root/test_crypto.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-08-31 15:13:50 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-08-31 15:13:50 +0200
commitf294cd3a85c084490a10ae6ac9c1dab4c60a7678 (patch)
tree1da393c61f4662eb4f18e71c5b7cc552a7c1cfae /test_crypto.c
parent7b84ab7fe10b0ccf6c5e93bebf06267e18a09bf8 (diff)
finish prep functions for first price auctions
Diffstat (limited to 'test_crypto.c')
-rw-r--r--test_crypto.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/test_crypto.c b/test_crypto.c
index 057754a..2d1b50a 100644
--- a/test_crypto.c
+++ b/test_crypto.c
@@ -302,16 +302,15 @@ test_all_auctions ()
if (auction_firstPrice != atype) /* others not yet implemented */
continue;
-// for (size_t oc = 0; oc < outcome_last; oc++)
-// {
- size_t oc = outcome_public;
+ for (size_t oc = 0; oc < outcome_last; oc++)
+ {
if (!test_setup_auction_data() || !test_auction (atype, oc))
{
cleanup_auction_data ();
return 0;
}
cleanup_auction_data ();
-// }
+ }
}
return 1;