| author | blanchet |
| Mon, 29 Sep 2014 10:39:39 +0200 | |
| changeset 58476 | 6ade4c7109a8 |
| parent 58348 | 2d47c7d10b62 |
| child 58626 | 6c473ed0ac70 |
| permissions | -rw-r--r-- |
| 58039 | 1 |
(* Title: Code_Test_PolyML.thy |
2 |
Author: Andreas Lochbihler, ETH Zurich |
|
3 |
||
4 |
Test case for test_code on PolyML |
|
5 |
*) |
|
6 |
||
7 |
theory Code_Test_PolyML imports Code_Test begin |
|
8 |
||
9 |
test_code "14 + 7 * -12 = (140 div -2 :: integer)" in PolyML |
|
10 |
||
|
58348
2d47c7d10b62
add target language evaluators for the value command;
Andreas Lochbihler
parents:
58039
diff
changeset
|
11 |
value [PolyML] "14 + 7 * -12 :: integer" |
| 58039 | 12 |
|
13 |
end |