diff options
author | Brad Anderson <brad@cloudant.com> | 2010-03-24 21:10:17 -0400 |
---|---|---|
committer | Brad Anderson <brad@cloudant.com> | 2010-05-09 22:56:22 -0400 |
commit | 98b059115a7fc880716310187fb97855d014d498 (patch) | |
tree | 522bba437b531cd46843708109b81bf10c83b601 /test | |
parent | b32640350ee550c105258d47629b0b8c3e8775d2 (diff) |
begin storing derived pmap,fullmap in ets, test them a bit
Diffstat (limited to 'test')
-rw-r--r-- | test/mem3_test.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/mem3_test.erl b/test/mem3_test.erl index 25815d54..99f32ff9 100644 --- a/test/mem3_test.erl +++ b/test/mem3_test.erl @@ -44,5 +44,8 @@ init(_Pid) -> join_first(_Pid) -> mem3:join(first, [{1, a, []}, {2, b, []}]), - ?debugFmt("~nState: ~p~n", [mem3:state()]), + Fullmap = mem3:fullmap(), + ?assertEqual(16, length(Fullmap)), + Pmap = mem3:partitions(), + ?assertEqual(8, length(Pmap)), ok. |