rajarshimaitra
efcaefc7b5
test: Add remaining scenarios of 0 waste
...
There are two more cases where waste can be 0, when:
- (Fee - LTF) == -Change Cost
- (Fee - LTF) == -Excess
Adding these two conditions explicitly in the unit test will help
pin the behavior, also demonstrate waste calculation scenarios to new
readers.
2021-09-24 15:36:58 +05:30
..
2021-09-24 15:36:58 +05:30
2021-03-11 13:45:14 +08:00
2021-01-17 18:10:20 +01:00
2021-04-18 21:10:47 +01:00
2021-04-30 18:53:47 +02:00
2021-08-27 12:46:06 -04:00
2021-08-27 12:46:06 -04:00
2021-08-17 04:05:15 -04:00
2021-05-04 06:55:31 +02:00
2020-12-31 09:45:41 +01:00
2021-06-09 22:53:36 +12:00
2021-03-17 14:56:20 +08:00
2021-05-19 08:50:16 +02:00
2020-12-16 12:33:06 -05:00
2021-06-18 09:12:44 +12:00
2021-06-30 08:37:50 +02:00
2021-09-01 02:22:58 -05:00
2020-12-31 09:45:41 +01:00
2021-08-27 12:46:04 -04:00
2021-09-01 02:22:58 -05:00
2021-01-19 19:04:45 +08:00
2021-09-07 09:11:10 +02:00
2021-08-17 04:05:15 -04:00
2021-09-01 02:22:58 -05:00
2021-09-01 02:22:58 -05:00
2021-08-16 16:04:53 +08:00
2021-09-01 02:22:58 -05:00
2021-03-29 23:29:42 +02:00
2021-05-04 06:55:31 +02:00
2021-08-09 14:45:12 +12:00
2021-08-22 17:31:58 +02:00
2021-09-01 02:22:58 -05:00
2021-09-01 02:22:58 -05:00
2021-05-17 17:22:36 +02:00
2021-01-04 12:31:31 +08:00
2021-05-26 06:32:51 -05:00
2021-09-01 02:22:58 -05:00
2021-09-03 18:30:01 +01:00
2021-09-03 18:30:01 +01:00
2021-09-01 02:22:58 -05:00
2021-08-17 04:05:15 -04:00
2021-05-19 08:50:16 +02:00
2021-01-21 19:30:34 +01:00
2021-05-24 10:29:58 +02:00
2021-06-24 13:49:22 -04:00