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