Tests
This commit is contained in:
parent
29d7e67a00
commit
8fc318b75e
5
Makefile
5
Makefile
@ -10,8 +10,11 @@ main.byte:
|
||||
|
||||
byte: main.byte
|
||||
|
||||
.PHONY: clean test
|
||||
test: all
|
||||
for f in tests/*.8pus; do echo "### Testing $$f:"; ./pieuvre $$f; echo ""; done
|
||||
|
||||
clean:
|
||||
ocamlbuild -clean
|
||||
rm -f pieuvre
|
||||
|
||||
.PHONY: clean test
|
||||
|
||||
4
tests/test02.8pus
Normal file
4
tests/test02.8pus
Normal file
@ -0,0 +1,4 @@
|
||||
A -> B -> A
|
||||
intro a.
|
||||
intro b.
|
||||
assumption.
|
||||
5
tests/test03.8pus
Normal file
5
tests/test03.8pus
Normal file
@ -0,0 +1,5 @@
|
||||
A -> (A -> B) -> B
|
||||
intro a.
|
||||
intro f.
|
||||
apply f.
|
||||
assumption.
|
||||
Loading…
x
Reference in New Issue
Block a user