Commit da429c6
authored
test routing null matrix validation (#1220)
DataModel.add_cost_matrix routes through validate_matrix, which is expected to reject matrices containing NULL values before solve-time logic. This change adds a focused negative test to lock down that contract and prevent silent regressions during future validation.
### Summary
- Add test_dist_mat_null to routing validation coverage.
- Cover the NULL input path for cost matrices in DataModel.add_cost_matrix.
Authors:
- Daniel T. (https://github.com/aycsi)
- Ramakrishna Prabhu (https://github.com/ramakrishnap-nv)
- Trevor McKay (https://github.com/tmckayus)
Approvers:
- Trevor McKay (https://github.com/tmckayus)
URL: #12201 parent 91134a2 commit da429c6
1 file changed
Lines changed: 15 additions & 0 deletions
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
78 | 93 | | |
79 | 94 | | |
80 | 95 | | |
| |||
0 commit comments