-module(wopr_app).

-behaviour(application).

%% Application callbacks
-export([start/2, stop/1]).

%% ===================================================================
%% Application callbacks
%% ===================================================================

start(First,Second) -> wopr_sup:start_link().

stop(State) -> ok.

%% testing

-ifdef(TEST).
-include_lib("eunit/include/eunit.hrl").

simple_test() ->
 ok = application:start(wopr),
 ?assertNot(undefined == whereis(wopr_sup)).

-endif.
