add pdf report

This commit is contained in:
Ali Can Zeybek
2024-12-06 22:54:39 +03:00
parent 053cf1a6c5
commit ce724c1072
5 changed files with 236 additions and 9 deletions

View File

@@ -44,15 +44,15 @@ time take to generate this : 14.20 min (including song selection 😜 )
## Test cases
| Test Case | number_of_items | total_cost | delivery_time | Partition Type | Expected Outcome |
|-----------|-----------------|------------|---------------|------------------|---------------------------------|
| 1 | 3 | 100 | NEXT_DAY | All Valid | 25.00 |
| 2 | 3 | 150 | SECOND_DAY | All Valid | 15.00 |
| 3 | 4 | 100 | THIS_WEEK | All Valid | 0.00 |
| 4 | 4 | 150 | NEXT_DAY | All Valid | 30.00 |
| 5 | -1 | 100 | NEXT_DAY | Invalid Items | Exception |
| 6 | 3 | -50 | SECOND_DAY | Invalid Cost | Exception |
| 7 | 3 | 100 | null | Invalid Delivery | Exception |
| number_of_items | total_cost | delivery_time | Partition Type | Expected Outcome |
|-----------------|------------|---------------|------------------|---------------------------------|
| 3 | 100 | NEXT_DAY | All Valid | 25.00 |
| 3 | 150 | SECOND_DAY | All Valid | 15.00 |
| 4 | 100 | THIS_WEEK | All Valid | 0.00 |
| 4 | 150 | NEXT_DAY | All Valid | 30.00 |
| -1 | 100 | NEXT_DAY | Invalid Items | Exception |
| 3 | -50 | SECOND_DAY | Invalid Cost | Exception |
| 3 | 100 | null | Invalid Delivery | Exception |
# Boundary Value