This commit is contained in:
Adrien Vannson 2022-05-10 11:48:53 +02:00
parent 29d7e67a00
commit 8fc318b75e
No known key found for this signature in database
GPG Key ID: FE2E66FD978C1A55
3 changed files with 13 additions and 1 deletions

View File

@ -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
View File

@ -0,0 +1,4 @@
A -> B -> A
intro a.
intro b.
assumption.

5
tests/test03.8pus Normal file
View File

@ -0,0 +1,5 @@
A -> (A -> B) -> B
intro a.
intro f.
apply f.
assumption.