Created
December 4, 2013 01:52
-
-
Save voila/7780999 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% For any integer X and any list of integers L, | |
%% if I delete X from L, then L should not contain X | |
prop_delete1() -> | |
?FORALL({X,L}, %% variables | |
{integer(), list(integer())}, %% generators | |
not lists:member(X, delete_all(X, L))). %% property |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment