1 -module(hope_result_SUITE).
15 -define(GROUP_PIPE, result_pipe).
18 %% ============================================================================
19 %% Common Test callbacks
20 %% ============================================================================
23 [{group, ?GROUP_PIPE}].
30 [{?GROUP_PIPE, Properties, Tests}].
33 %% =============================================================================
35 %% =============================================================================
39 [ fun (0) -> {ok, 1}; (X) -> {error, X} end
40 , fun (1) -> {ok, 2}; (X) -> {error, X} end
41 , fun (2) -> {ok, 3}; (X) -> {error, X} end
43 {ok, 3} = hope_result:pipe(Steps, 0).