Skip to content

Instantly share code, notes, and snippets.

@si14
Created November 11, 2013 12:16
Show Gist options
  • Save si14/7412350 to your computer and use it in GitHub Desktop.
Save si14/7412350 to your computer and use it in GitHub Desktop.
-module(foobar_tests).
-include_lib("proper/include/proper.hrl").
-include_lib("eunit/include/eunit.hrl").
prop_delete() ->
?FORALL({X,L}, {integer(),list(integer())},
not lists:member(X, lists:delete(X, L))).
proper_test() ->
?assertEqual(
[],
proper:module(?MODULE, [{to_file, user},
{numtests, 1000}])
).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment