Format
This commit is contained in:
parent
d69cec4d73
commit
b2d6e18c82
@ -58,11 +58,13 @@ impl SelectionDesc {
|
||||
left: self.left,
|
||||
right: self.left,
|
||||
});
|
||||
|
||||
// My right is contained in b
|
||||
let right_contained = b.contains(&SelectionDesc {
|
||||
left: self.right,
|
||||
right: self.right,
|
||||
});
|
||||
|
||||
// b is contaned in self
|
||||
let b_contained = self.contains(b);
|
||||
|
||||
@ -545,10 +547,7 @@ mod test {
|
||||
// Check parsing
|
||||
assert_eq!(sd!(18, 9, 10, 1), SD);
|
||||
// Check if multiple parsed ones match
|
||||
assert_eq!(
|
||||
sd!(18,9,10,1),
|
||||
sd!(18,9,10,1)
|
||||
);
|
||||
assert_eq!(sd!(18, 9, 10, 1), sd!(18, 9, 10, 1));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user