Add tests.sh
This commit is contained in:
parent
075aa267a7
commit
2c01cab197
21
tests.sh
Executable file
21
tests.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
make
|
||||
|
||||
echo "=== Alpha-équivalence ==="
|
||||
for file in tests/alpha_equiv/*; do
|
||||
echo "-- $file"
|
||||
./pieuvre -alpha $file >/dev/null
|
||||
done
|
||||
|
||||
echo "=== Bêta-réduction ==="
|
||||
for file in tests/lam/*; do
|
||||
echo "-- $file"
|
||||
./pieuvre -reduce $file >/dev/null
|
||||
done
|
||||
|
||||
echo "=== Preuves ==="
|
||||
for file in tests/8pus/*; do
|
||||
echo "-- $file"
|
||||
./pieuvre $file >/dev/null
|
||||
done
|
6
tests/8pus/apply.8pus
Normal file
6
tests/8pus/apply.8pus
Normal file
@ -0,0 +1,6 @@
|
||||
Goal (A -> B -> C) -> A -> B -> C.
|
||||
intros.
|
||||
apply H0.
|
||||
exact H2.
|
||||
exact H1.
|
||||
Qed.
|
Loading…
Reference in New Issue
Block a user