Skip to content

Commit

Permalink
Fixed test and regenerated parsers.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Jan 26, 2025
1 parent 9544def commit 27c2891
Show file tree
Hide file tree
Showing 3 changed files with 5,037 additions and 5,027 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ test bool cntEmptyList2() = size([x | /x:[] := Rascal]) == 26;
test bool cntList1() {cnt = 0; visit(Rascal){ case [*value _]: cnt += 1; }; return cnt == 837; }
test bool cntList2() = size([x | /x:[*value _] := Rascal]) == 837;
test bool cntEmptySet1() {cnt = 0; visit(Rascal){ case {}: cnt += 1; }; return cnt == 451; }
test bool cntEmptySet2() = size([x | /x:{} := Rascal]) == 451;
test bool cntEmptySet1() {cnt = 0; visit(Rascal){ case {}: cnt += 1; }; return cnt == 463; }
test bool cntEmptySet2() = size([x | /x:{} := Rascal]) == 463;

test bool cntSet1() {cnt = 0; visit(Rascal){ case {*value _}: cnt += 1; }; return cnt == 766; }
test bool cntSet2() = size([x | /x:{*value _} := Rascal]) == 766;
Expand Down
Loading

0 comments on commit 27c2891

Please sign in to comment.