test(tests/lean/interactive): add old 'interactive' tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
b0a25cdbc9
commit
a173b7f6e6
8 changed files with 0 additions and 66 deletions
|
@ -1,8 +0,0 @@
|
|||
print "hello"
|
||||
print "block1"
|
||||
#ACK
|
||||
print "block2"
|
||||
-- comment
|
||||
print "block2b"
|
||||
#ACK
|
||||
print "block3"
|
|
@ -1,5 +0,0 @@
|
|||
hello
|
||||
block1
|
||||
block2
|
||||
block2b
|
||||
block3
|
|
@ -1,4 +0,0 @@
|
|||
print "hello"
|
||||
#ACK
|
||||
print pr
|
||||
#ACK
|
|
@ -1,2 +0,0 @@
|
|||
hello
|
||||
[stdin]:2:7: error: invalid print command
|
|
@ -1,7 +0,0 @@
|
|||
section
|
||||
parameter A : Type
|
||||
check A
|
||||
#ACK
|
||||
check A
|
||||
end
|
||||
print "done"
|
|
@ -1,3 +0,0 @@
|
|||
A : Type
|
||||
A : Type
|
||||
done
|
|
@ -1,26 +0,0 @@
|
|||
variable N : Type.{1}
|
||||
print "block 1"
|
||||
#SNAPSHOT
|
||||
variable f : N -> N
|
||||
variable g : N -> N
|
||||
#SNAPSHOT
|
||||
check N
|
||||
print "before restore"
|
||||
#RESTORE 3
|
||||
-- Restore will remove all lines >= 3
|
||||
-- You will be able to reuse the first snapshot
|
||||
print "after restore"
|
||||
print "only once"
|
||||
check N
|
||||
variable f : N -> N
|
||||
#RESTORE 6
|
||||
-- Restore will remove all lines >= 6
|
||||
print "after second restore"
|
||||
#RESTART
|
||||
variable N : Type.{1}
|
||||
print "block 1"
|
||||
-- Restore will remove all lines >= 3
|
||||
-- You will be able to reuse the first snapshot
|
||||
print "after restore"
|
||||
check N
|
||||
print "done"
|
|
@ -1,11 +0,0 @@
|
|||
block 1
|
||||
N : Type
|
||||
before restore
|
||||
after restore
|
||||
only once
|
||||
N : Type
|
||||
after restore
|
||||
after second restore
|
||||
after restore
|
||||
N : Type
|
||||
done
|
Loading…
Reference in a new issue