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 %% =============================================================================
41 [ fun (foo) -> {ok, bar}; (X) -> {error, X} end
42 , fun (bar) -> {ok, baz}; (X) -> {error, X} end
43 , fun (baz) -> {ok, qux}; (X) -> {error, X} end
45 {ok, Z} = hope_result:pipe(Steps, A).