Changeset 1883 for src/Clight/test
- Timestamp:
- Apr 9, 2012, 11:53:35 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Clight/test/switcher.test.ma
r1876 r1883 21 21 normalize (* you can examine the result here *) 22 22 % qed. 23 24 include "Clight/switchRemoval.ma". 25 26 definition noswitch ≝ program_switch_removal myprog. 27 28 example exec0': finishes_with (repr I32 16) ? (exec_up_to clight_fullexec noswitch 1000 [EVint I32 (repr ? 0)]). 29 normalize (* you can examine the result here *) 30 % qed. 31 32 example exec1': finishes_with (repr I32 0) ? (exec_up_to clight_fullexec noswitch 1000 [EVint I32 (repr ? 1)]). 33 normalize (* you can examine the result here *) 34 % qed. 35 36 example exec3': finishes_with (repr I32 1) ? (exec_up_to clight_fullexec noswitch 1000 [EVint I32 (repr ? 3)]). 37 normalize (* you can examine the result here *) 38 % qed. 39 40 example exec5': finishes_with (repr I32 5) ? (exec_up_to clight_fullexec noswitch 1000 [EVint I32 (repr ? 5)]). 41 normalize (* you can examine the result here *) 42 % qed. 43 44 example exec7': finishes_with (repr I32 3) ? (exec_up_to clight_fullexec noswitch 1000 [EVint I32 (repr ? 7)]). 45 normalize (* you can examine the result here *) 46 % qed.
Note: See TracChangeset
for help on using the changeset viewer.