mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-07 00:55:21 +00:00
b7c268119d
timeseries_utils.erl
21 lines
513 B
Erlang
21 lines
513 B
Erlang
-module(ts_C_select_pass_1).
|
|
|
|
-behavior(riak_test).
|
|
|
|
-include_lib("eunit/include/eunit.hrl").
|
|
|
|
-export([
|
|
confirm/0
|
|
]).
|
|
|
|
confirm() ->
|
|
DDL = timeseries_util:get_ddl(docs),
|
|
Data = timeseries_util:get_valid_select_data(),
|
|
Qry = timeseries_util:get_valid_qry(),
|
|
Expected = {
|
|
timeseries_util:get_cols(docs),
|
|
timeseries_util:exclusive_result_from_data(Data, 2, 9)},
|
|
Got = timeseries_util:confirm_select(one_down, normal, DDL, Data, Qry),
|
|
?assertEqual(Expected, Got),
|
|
pass.
|