269 | @@ -270,6 +270,13 @@ BOOST_AUTO_TEST_CASE(srd_test)
270 | AddDuplicateCoins(utxo_pool, /*count=*/3, /*amount=*/7 * CENT, cs_params);
271 | TestSRDSuccess("Select most valuable UTXOs for acceptable weight", utxo_pool, /*selection_target=*/20 * CENT, cs_params, /*max_selection_weight=*/4 * 4 * (P2WPKH_INPUT_VSIZE - 1 ));
272 | TestSRDFail("No acceptable weight possible", utxo_pool, /*selection_target=*/25 * CENT, cs_params, /*max_selection_weight=*/4 * 3 * (P2WPKH_INPUT_VSIZE), /*expect_max_weight_exceeded=*/true);
273 | +
274 | + // Create UTXO pool with UTXOs of same effective value but different weights
275 | + std::vector<OutputGroup> mixed_weight_pool;
276 | + AddDuplicateCoins(mixed_weight_pool, 100, 5 * CENT, cs_params);
Minor improvement when #34886 has been merged:
AddDuplicateCoins(mixed_weight_pool, /*count=*/100, /*amount=*/5 * CENT, cs_params);