Skip to content

Commit fb1c6c1

Browse files
committed
test: Remove redundant test
1 parent 01e1627 commit fb1c6c1

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/wallet/test/coinselector_tests.cpp

-11
Original file line numberDiff line numberDiff line change
@@ -231,17 +231,6 @@ BOOST_AUTO_TEST_CASE(bnb_search_test)
231231
BOOST_CHECK_EQUAL(result5->GetSelectedValue(), 10 * CENT);
232232
expected_result.Clear();
233233

234-
// Negative effective value
235-
// Select 10 Cent but have 1 Cent not be possible because too small
236-
add_coin(5 * CENT, 5, expected_result);
237-
add_coin(3 * CENT, 3, expected_result);
238-
add_coin(2 * CENT, 2, expected_result);
239-
const auto result6 = SelectCoinsBnB(GroupCoins(utxo_pool), 10 * CENT, 5000);
240-
BOOST_CHECK(result6);
241-
BOOST_CHECK_EQUAL(result6->GetSelectedValue(), 10 * CENT);
242-
// FIXME: this test is redundant with the above, because 1 Cent is selected, not "too small"
243-
// BOOST_CHECK(EquivalentResult(expected_result, *result));
244-
245234
// Select 0.25 Cent, not possible
246235
BOOST_CHECK(!SelectCoinsBnB(GroupCoins(utxo_pool), 0.25 * CENT, 0.5 * CENT));
247236
expected_result.Clear();

0 commit comments

Comments
 (0)