Skip to content

Commit

Permalink
Add test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdrozd committed Nov 29, 2024
1 parent 7695abb commit 321d8fb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions test/prog_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,7 @@
"1RB ... 1RC 0RA 1LC 0LB",
"1RB ... 1LC 0RB 1LA 1LC",
"1RB 0LC 0RC ... 1LC 0RA",
"1RB ... 0RC 0RB 1LC 1LA",

"1RB 2LB ... 1LB 2LA 1RB",
"1RB 0LA ... 1LB 2LA 0RB",
Expand Down Expand Up @@ -1220,6 +1221,11 @@
"1RB ... 0RA 1LB 2LA 2RB",
"1RB 1LB 0RB 1LA 2RB ...",
"1RB 0LB 0RB 1LA 2RB ...",
"1RB 0LB ... 2LA 1LA 1RA",
"1RB ... 0RB 0LB 2LA 2RA",
"1RB 2LB 0RB 2LA ... 2RA",
"1RB ... 0LB 2LB 2RA 1LA",
"1RB ... 2RB 2LB 2LA 0RA",

"1RB 1LA ... 3LA 2LA 3RB 3LA 0RA",
"1RB 3LA 1LA ... 1LB 2RB 0LA 0RB",
Expand Down Expand Up @@ -1365,6 +1371,7 @@
"1RB 1LC 0LA 0RB 1LA ...",
"1RB 0LA 0RC 1RC 1LA ...",
"1RB ... 1LC 0RB 1LA 1LC",
"1RB ... 0RC 0RB 1LC 1LA",

"1RB 2LA 0RB 0LB 1LA 0RA",
"1RB 2LA 1LB 0LA 0RB 1RA",
Expand Down Expand Up @@ -1617,6 +1624,7 @@
"1RB 0RB 0RC 0RA 1LC 1RB",
"1RB 0RB 1LC 0RA 1LC 1LA",
"1RB 0RC 1LB 1RA 0RB 0RA",
"1RB ... 0RC 0RB 1LC 1LA",

"1RB ... 0RB 2LB 2RA 0LA",
"1RB 0LA ... 1LB 2LA 0RB",
Expand All @@ -1627,6 +1635,7 @@
"1RB ... ... 2LB 1RB 1LB",
"1RB 1RA 0RB 2LB 1LA 1LB",
"1RB 0RB ... 1LB 2RA 0LA",
"1RB ... 0LB 2LB 2RA 1LA",

"1RB 0LC 1RD 0RB 1LC 1LA 1RC 1RA",
"1RB 1LC 1RD 0RB 0LC 1LA 1RC 0RA",
Expand Down Expand Up @@ -1691,13 +1700,19 @@

SEGMENT_FALSE_NEGATIVES = {
"1RB ... 0RB 2LB 2LA 0RA",
"1RB 0LB ... 2LA 1LA 1RA",
"1RB 0LB 0RB 1LA 2RB ...",
"1RB 1LB 0RB 1LA 2RB ...",
"1RB 2LA 0LA 1LA ... 2RA",
"1RB 2LA 1RB 1LA ... 1RA",
"1RB 2RA 1LA 2LA 2RB ...",
"1RB ... 0RB 0LB 2LA 2RA",
"1RB ... 0LB 2LB 2RA 1LA",
"1RB ... 2RB 2LB 2LA 0RA",
"1RB 2LB 0RB 2LA ... 2RA",

"1RB ... 0LC 0RB 1LC 1LA",
"1RB ... 0RC 0RB 1LC 1LA",
"1RB ... 1LC 0RB 1LA 1LC",
"1RB ... 1LC 0RB 1LB 1LA",
"1RB ... 1LC 0RC 1RA 0LC",
Expand Down Expand Up @@ -2759,6 +2774,11 @@
"1RB 2RB 1LA 0LA 2RA ...",
"1RB 2RA 1LA 2LA 2RB ...",
"1RB 0RB ... 1LB 2RA 0LA",
"1RB 0LB ... 2LA 1LA 1RA",
"1RB ... 0LB 2LB 2RA 1LA",
"1RB ... 2RB 2LB 2LA 0RA",
"1RB ... 0RB 0LB 2LA 2RA",
"1RB 2LB 0RB 2LA ... 2RA",

"1RB ... 0LC 0RA 0RA 1LB",
"1RB ... 0LC 0RA 1LA 1LB",
Expand All @@ -2781,6 +2801,8 @@
"1RB 0RB 0RC 0RA 1LC 1RB",
"1RB 0RB 1LC 0RA 1LC 1LA",
"1RB 0RC 1LB 1RA 0RB 0RA",
"1RB ... 0RC 0RB 1LC 1LA",
"1RB ... 1LC 0RC 1RA 0LC",

"1RB ... 0RB ... 2LB 3RA 0RA 0RA",
"1RB 3LA 1LA ... 1LB 2RB 0LA 0RB",
Expand Down Expand Up @@ -2995,6 +3017,7 @@
"1RB ... 0RB 2LB 2LA 0RA",

"1RB ... 0LC 0RB 1LC 1LA",
"1RB ... 0RC 0RB 1LC 1LA",

"1RB 3LA 1LA ... 1LB 2RB 0LA 0RB",
"1RB 3LA 1LA 1RA 2LB 2RA ... 0RB",
Expand Down

0 comments on commit 321d8fb

Please sign in to comment.