1 -module(hope_kv_list_SUITE).
16 -define(GROUP_KV_LIST, kv_list).
19 %% ============================================================================
20 %% Common Test callbacks
21 %% ============================================================================
24 [{group, ?GROUP_KV_LIST}].
32 [{?GROUP_KV_LIST, Properties, Tests}].
35 %% =============================================================================
37 %% =============================================================================
42 ListInitial = hope_kv_list:empty(),
43 ListResulting = hope_kv_list:set(ListInitial, Key, ValExpected),
44 {some, ValResulting} = hope_kv_list:get(ListResulting, Key),
45 ValResulting = ValExpected.
47 t_set_existing(_Config) ->
51 ListInitial = [{donald, duck}, {Key, ValInitial}],
52 ListResulting = hope_kv_list:set(ListInitial, Key, ValExpected),
53 {some, ValResulting} = hope_kv_list:get(ListResulting, Key),
54 ValResulting = ValExpected.