(
lhs: &IntervalAbstractDomain<Type>,
rhs: &IntervalAbstractDomain<Type>,
)
| 466 | } |
| 467 | |
| 468 | fn union_paths<Type>( |
| 469 | lhs: &IntervalAbstractDomain<Type>, |
| 470 | rhs: &IntervalAbstractDomain<Type>, |
| 471 | ) -> Vec<Rc<Path>> |
| 472 | where |
| 473 | Type: NumericalDomainType, |
| 474 | IntervalAbstractDomain<Type>: GetDomainType, |
| 475 | { |
| 476 | let mut paths: Vec<Rc<Path>> = lhs.intervals.keys().cloned().collect(); |
| 477 | for path in rhs.intervals.keys() { |
| 478 | if !paths.contains(path) { |
| 479 | paths.push(path.clone()); |
| 480 | } |
| 481 | } |
| 482 | paths |
| 483 | } |
| 484 | |
| 485 | fn interval_leq(lhs: &Interval, rhs: &Interval) -> bool { |
| 486 | lhs.is_bottom() |
no test coverage detected