-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the bug and add a regression test
During the refactoring isFlipNeeded stopped checking if the edge to be flipped is constrained.
- Loading branch information
1 parent
d6bae25
commit 37de473
Showing
4 changed files
with
85 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...xpected/dont_flip_constraint_when_resolving_intersection__f64_as-provided_resolve_all.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
15 | ||
0 1 7 4294967295 6 3 | ||
0 3 2 2 7 4294967295 | ||
0 6 3 3 10 1 | ||
0 7 6 0 14 2 | ||
1 2 4 4294967295 8 5 | ||
1 4 5 4 12 6 | ||
1 5 7 5 13 0 | ||
2 3 8 1 9 8 | ||
2 8 4 7 9 4 | ||
3 4 8 11 8 7 | ||
3 6 9 2 14 11 | ||
3 9 4 10 12 9 | ||
4 9 5 11 13 5 | ||
5 9 7 12 14 6 | ||
6 7 9 3 13 10 | ||
|
||
5 | ||
3 4 | ||
3 9 | ||
4 9 | ||
5 9 | ||
6 9 | ||
|
||
2 | ||
3 9 0 | ||
5 9 0 | ||
|
||
4 | ||
3 9 | ||
1 | ||
3 5 | ||
4 9 | ||
1 | ||
4 6 | ||
5 9 | ||
1 | ||
3 5 | ||
6 9 | ||
1 | ||
4 6 |
10 changes: 10 additions & 0 deletions
10
CDT/tests/inputs/dont_flip_constraint_when_resolving_intersection.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
6 3 | ||
2 8 | ||
12 11 | ||
12 10 | ||
2 7 | ||
12 8 | ||
5 10 | ||
0 1 | ||
0 2 | ||
1 3 |