diff options
Diffstat (limited to 'test_crypto.c')
-rw-r--r-- | test_crypto.c | 7 |
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 () | |||
302 | if (auction_firstPrice != atype) /* others not yet implemented */ | 302 | if (auction_firstPrice != atype) /* others not yet implemented */ |
303 | continue; | 303 | continue; |
304 | 304 | ||
305 | // for (size_t oc = 0; oc < outcome_last; oc++) | 305 | for (size_t oc = 0; oc < outcome_last; oc++) |
306 | // { | 306 | { |
307 | size_t oc = outcome_public; | ||
308 | if (!test_setup_auction_data() || !test_auction (atype, oc)) | 307 | if (!test_setup_auction_data() || !test_auction (atype, oc)) |
309 | { | 308 | { |
310 | cleanup_auction_data (); | 309 | cleanup_auction_data (); |
311 | return 0; | 310 | return 0; |
312 | } | 311 | } |
313 | cleanup_auction_data (); | 312 | cleanup_auction_data (); |
314 | // } | 313 | } |
315 | } | 314 | } |
316 | 315 | ||
317 | return 1; | 316 | return 1; |