Skip to content

Commit

Permalink
Add test-case for p/printing of q-vars prefix + indented body
Browse files Browse the repository at this point in the history
  • Loading branch information
mn200 committed Dec 31, 2017
1 parent 5efbdf8 commit fa89a2b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/num/theories/selftest.sml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ in
List.app tpp [
"case e1 of 0 => (case e2 of 0 => 1 | SUC n => n + 1) | SUC m => m * 2",
"case e1 of 0 => 1 | SUC n => case e2 of 0 => 2 | SUC m => 3",
"(case x of 0 => (\\x. x) | SUC n => (\\m. m + n)) y"
"(case x of 0 => (\\x. x) | SUC n => (\\m. m + n)) y",
"!a b c d e f g.\n \
\foo' a b /\\ bar a c /\\ baz a c d /\\ qux f g /\\ foo' f g ==>\n \
\(a + b * c = 10 * d + e + f + g)"
] ;
trace ("PP.print_firstcasebar", 1) tpp "case e of | 0 => 1 | SUC n => n + 2";
trace ("PP.print_firstcasebar", 1) tpp
Expand Down

0 comments on commit fa89a2b

Please sign in to comment.