Skip to content
Snippets Groups Projects
Commit e9cc023b authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Add test.

parent fa902781
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,11 @@ Section iris_tests. ...@@ -56,6 +56,11 @@ Section iris_tests.
Context `{!invGS_gen hlc Σ, !cinvG Σ, !na_invG Σ}. Context `{!invGS_gen hlc Σ, !cinvG Σ, !na_invG Σ}.
Implicit Types P Q R : iProp Σ. Implicit Types P Q R : iProp Σ.
Lemma test_except_0_inv N P : False -∗ inv N P.
Proof.
iIntros "H". by iMod "H". (* works because invariants are [IsExcept0] *)
Qed.
Lemma test_masks N E P Q R : Lemma test_masks N E P Q R :
N E N E
(True -∗ P -∗ inv N Q -∗ True -∗ R) -∗ P -∗ Q ={E}=∗ R. (True -∗ P -∗ inv N Q -∗ True -∗ R) -∗ P -∗ Q ={E}=∗ R.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment