Skip to content

Commit 2a8543e

Browse files
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 scenarios
1 parent d098064 commit 2a8543e

File tree

2 files changed

+964
-0
lines changed

2 files changed

+964
-0
lines changed

unit/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ SRC += analyses/ai/ai.cpp \
169169
util/interval/subtract.cpp \
170170
util/interval/to_string.cpp \
171171
util/interval_constraint.cpp \
172+
util/interval_template.cpp \
172173
util/interval_union.cpp \
173174
util/irep.cpp \
174175
util/irep_sharing.cpp \

0 commit comments

Comments
 (0)