Commit 2a8543e
committed
Add comprehensive unit tests for empty interval handling
Add unit tests to validate all changes in interval_template.h for empty
interval handling. Tests cover:
- is_less_than_eq() and is_less_than() methods with empty intervals
- operator<=() and operator==() with empty intervals
- approx_union_with() with empty intervals (identity property)
- Edge cases: empty with empty, singleton, top, bounded intervals
- Mathematical properties: empty set as subset, equality of empty sets
- Regression tests for previously failing scenarios1 parent d098064 commit 2a8543e
2 files changed
+964
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
0 commit comments