yancy
b189a34557
test: add case where TOTAL_TRIES is exceeded yet solution remains
...
Show that `CoinGrider` halts searching when the number of attempts exceeds
`TOTAL_TRIES`. To do so, show that a solution is found, then add one
more entry to the same set of inputs. Since the search orders by
`effective_value`, the solution is constructed such that only values
with the lowest `effective_value` have the least weight. Only the
lowest weight values will not exceed the `max_selection_weight`.
Therefore, `CoinGrinder` will not evaluate all lowest weight solutions
together before exceeding `TOTAL_TRIES` since they are last found.
This test case was inspired by a similar test for `BnB` currently
named `bnb_test`.
2025-11-05 14:22:23 -06:00
..
2025-10-24 10:33:51 -07:00
2025-10-24 10:33:51 -07:00
2025-09-16 06:26:01 -04:00
2025-08-14 10:17:32 +10:00
2025-08-07 09:27:25 +01:00
2025-09-08 18:39:55 +01:00
2025-09-07 17:28:31 +02:00
2025-09-17 04:57:09 -04:00
2025-09-17 04:57:09 -04:00
2025-10-10 21:20:50 +00:00
2025-09-12 22:28:41 +02:00
2025-10-16 13:49:49 +01:00
2025-10-13 18:39:18 +02:00
2025-10-24 11:43:42 -07:00
2025-08-11 16:47:51 +01:00
2025-10-06 11:25:56 -04:00
2025-10-24 10:33:51 -07:00
2025-10-24 10:33:51 -07:00
2025-10-15 09:49:11 +01:00
2025-10-24 11:43:42 -07:00
2025-07-23 13:29:07 -07:00
2025-10-24 10:33:51 -07:00
2025-11-05 14:22:23 -06:00
2025-08-11 16:47:43 +01:00
2025-09-01 15:10:24 -07:00
2025-09-12 22:28:41 +02:00
2025-07-25 09:50:50 +02:00
2025-09-05 15:46:44 +01:00
2025-08-04 15:33:25 -06:00
2025-10-06 12:14:02 -04:00
2025-09-17 04:57:09 -04:00
2025-08-27 03:33:32 +10:00
2025-08-27 03:33:32 +10:00
2025-10-02 12:53:55 +01:00
2025-10-02 12:53:55 +01:00
2025-10-02 10:34:12 -04:00
2025-08-13 00:08:37 -03:00
2025-07-25 09:50:50 +02:00
2025-09-03 11:23:30 +01:00
2025-10-11 17:25:09 -04:00
2025-10-15 09:49:11 +01:00
2025-10-12 12:37:45 -04:00
2025-10-11 21:48:04 -04:00
2025-08-06 15:46:18 -07:00
2025-07-22 10:26:15 -07:00
2025-08-14 10:17:30 +10:00
2025-07-25 09:50:50 +02:00
2025-09-12 22:28:41 +02:00
2025-09-12 22:28:41 +02:00
2025-09-16 06:26:01 -04:00
2025-10-06 11:25:56 -04:00
2025-10-14 16:25:52 -04:00
2025-09-30 11:06:43 -07:00
2025-08-12 11:28:36 -04:00
2025-08-12 11:28:36 -04:00
2025-09-08 11:18:51 +02:00
2025-07-17 12:43:04 -04:00
2025-08-11 15:53:34 +01:00
2025-08-11 16:47:51 +01:00
2025-09-30 11:06:43 -07:00
2025-10-14 16:25:52 -04:00
2025-10-24 10:12:11 -07:00
2025-09-22 10:46:26 +10:00
2025-10-24 10:33:51 -07:00
2025-10-24 10:33:51 -07:00
2025-10-02 12:53:55 +01:00
2025-10-02 12:53:55 +01:00
2025-09-16 06:26:01 -04:00
2025-08-04 13:38:26 -04:00
2025-07-25 09:50:50 +02:00
2025-07-25 09:50:50 +02:00
2025-10-02 12:53:55 +01:00
2025-10-02 12:53:55 +01:00
2025-07-25 16:23:37 -07:00
2025-09-30 11:06:43 -07:00
2025-09-30 11:06:43 -07:00
2025-09-30 11:06:09 -07:00
2025-09-30 11:06:09 -07:00
2025-07-25 09:50:50 +02:00
2025-10-14 10:24:08 -04:00
2025-08-11 16:26:35 +01:00
2025-07-29 16:25:47 -07:00
2025-08-14 10:17:32 +10:00
2025-07-16 14:33:07 -07:00
2025-07-16 14:33:07 -07:00
2025-08-22 14:25:39 +00:00
2025-08-22 14:25:39 +00:00
2025-10-14 12:44:57 -04:00
2025-10-11 17:25:09 -04:00
2025-08-27 03:33:32 +10:00
2025-08-27 03:33:32 +10:00
2025-07-23 15:01:18 +01:00
2025-07-23 15:01:18 +01:00
2025-10-24 11:00:35 -07:00
2025-10-24 11:00:35 -07:00
2025-08-01 15:12:37 +02:00
2025-08-01 15:12:37 +02:00