Skip to content

Commit

Permalink
Add convenience funtions for running vclock eqc from console
Browse files Browse the repository at this point in the history
  • Loading branch information
russelldb committed Dec 4, 2013
1 parent 1933464 commit 97d3877
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/vclock_qc.erl
Expand Up @@ -13,10 +13,18 @@

-record(state, {vclocks = []}).

-define(TEST_TIME, 20).

eqc_test_() ->
{timeout,
60,
?_assert(quickcheck(eqc:testing_time(20, more_commands(10,?QC_OUT(prop_vclock())))))}.
?_assert(quickcheck(eqc:testing_time(?TEST_TIME, more_commands(10,?QC_OUT(prop_vclock())))))}.

test() ->
quickcheck(eqc:testing_time(?TEST_TIME, more_commands(10, prop_vclock()))).

test(Time) ->
quickcheck(eqc:testing_time(Time, more_commands(10, prop_vclock()))).


%% Initialize the state
Expand Down

0 comments on commit 97d3877

Please sign in to comment.