@@ -1105,9 +1105,6 @@ mod tests {
1105
1105
type Sig = StmAggrSig < D > ;
1106
1106
type D = Blake2b < U32 > ;
1107
1107
1108
- // ---------------------------------------------------------------------
1109
- // Test helpers
1110
- // ---------------------------------------------------------------------
1111
1108
fn setup_equal_parties ( params : StmParameters , nparties : usize ) -> Vec < StmSigner < D > > {
1112
1109
let stake = vec ! [ 1 ; nparties] ;
1113
1110
setup_parties ( params, stake)
@@ -1263,9 +1260,6 @@ mod tests {
1263
1260
}
1264
1261
}
1265
1262
1266
- // ---------------------------------------------------------------------
1267
- // Property test: `test_dedup`
1268
- // ---------------------------------------------------------------------
1269
1263
proptest ! {
1270
1264
#![ proptest_config( ProptestConfig :: with_cases( 50 ) ) ]
1271
1265
@@ -1310,10 +1304,6 @@ mod tests {
1310
1304
}
1311
1305
}
1312
1306
1313
- // ---------------------------------------------------------------------
1314
- // Property test: `test_aggregate_sig`
1315
- // Property test: `batch_verify`
1316
- // ---------------------------------------------------------------------
1317
1307
proptest ! {
1318
1308
#![ proptest_config( ProptestConfig :: with_cases( 50 ) ) ]
1319
1309
@@ -1399,9 +1389,6 @@ mod tests {
1399
1389
}
1400
1390
}
1401
1391
1402
- // ---------------------------------------------------------------------
1403
- // Property test: `test_sig`
1404
- // ---------------------------------------------------------------------
1405
1392
proptest ! {
1406
1393
#[ test]
1407
1394
/// Test that when a party creates a signature it can be verified
@@ -1417,12 +1404,6 @@ mod tests {
1417
1404
}
1418
1405
}
1419
1406
1420
- // ---------------------------------------------------------------------
1421
- // Property test: `test_parameters_serialize_deserialize`
1422
- // Property test: `test_initializer_serialize_deserialize`
1423
- // Property test: `test_sig_serialize_deserialize`
1424
- // Property test: `test_multisig_serialize_deserialize`
1425
- // ---------------------------------------------------------------------
1426
1407
proptest ! {
1427
1408
#![ proptest_config( ProptestConfig :: with_cases( 10 ) ) ]
1428
1409
#[ test]
@@ -1488,9 +1469,6 @@ mod tests {
1488
1469
}
1489
1470
}
1490
1471
1491
- // ---------------------------------------------------------------------
1492
- // Property test: `test_adversary_quorum`
1493
- // ---------------------------------------------------------------------
1494
1472
proptest ! {
1495
1473
#![ proptest_config( ProptestConfig :: with_cases( 10 ) ) ]
1496
1474
@@ -1530,12 +1508,6 @@ mod tests {
1530
1508
}
1531
1509
}
1532
1510
1533
- // ---------------------------------------------------------------------
1534
- // Property test: `test_invalid_proof_quorum`
1535
- // Property test: `test_invalid_proof_index_bound`
1536
- // Property test: `test_invalid_proof_index_unique`
1537
- // Property test: `test_invalid_proof_path`
1538
- // ---------------------------------------------------------------------
1539
1511
proptest ! {
1540
1512
// Each of the tests below corresponds to falsifying a conjunct in the
1541
1513
// definition of a valid signature
@@ -1582,7 +1554,7 @@ mod tests {
1582
1554
}
1583
1555
1584
1556
// ---------------------------------------------------------------------
1585
- // Core verifier test helpers
1557
+ // Core verifier
1586
1558
// ---------------------------------------------------------------------
1587
1559
fn setup_equal_core_parties (
1588
1560
params : StmParameters ,
@@ -1627,10 +1599,6 @@ mod tests {
1627
1599
sigs
1628
1600
}
1629
1601
1630
- // ---------------------------------------------------------------------
1631
- // Core verifier property test: `test_core_verifier`
1632
- // Core verifier property test: `test_total_stake_core_verifier`
1633
- // ---------------------------------------------------------------------
1634
1602
proptest ! {
1635
1603
#![ proptest_config( ProptestConfig :: with_cases( 50 ) ) ]
1636
1604
0 commit comments