• Home
  • Raw
  • Download

Lines Matching refs:data

168 void DoMathDataTest(data_1_1_t<RT, T> (&data)[N], RT f(T)) {
173 data[i].expected, f(data[i].input)) << "Failed on element " << i;
181 void DoMathDataTest(data_int_1_t<T> (&data)[N], int f(T)) {
184 EXPECT_EQ(data[i].expected, f(data[i].input)) << "Failed on element " << i;
192 void DoMathDataTest(data_long_1_t<T> (&data)[N], long f(T)) {
195 EXPECT_EQ(data[i].expected, f(data[i].input)) << "Failed on element " << i;
203 void DoMathDataTest(data_llong_1_t<T> (&data)[N], long long f(T)) {
206 EXPECT_EQ(data[i].expected, f(data[i].input)) << "Failed on element " << i;
214 void DoMathDataTest(data_1_2_t<RT, T1, T2> (&data)[N], RT f(T1, T2)) {
219data[i].expected, f(data[i].input1, data[i].input2)) << "Failed on element " << i;
227 void DoMathDataTest(data_2_1_t<RT1, RT2, T1> (&data)[N], void f(T1, RT1*, RT2*)) {
234 f(data[i].input, &out1, &out2);
235 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i;
236 EXPECT_PRED_FORMAT2(predicate2, data[i].expected2, out2) << "Failed on element " << i;
244 void DoMathDataTest(data_2_1_t<RT1, RT2, T1> (&data)[N], RT1 f(T1, RT2*)) {
251 out1 = f(data[i].input, &out2);
252 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i;
253 EXPECT_PRED_FORMAT2(predicate2, data[i].expected2, out2) << "Failed on element " << i;
261 void DoMathDataTest(data_1_int_1_t<RT1, T1> (&data)[N], RT1 f(T1, int*)) {
267 out1 = f(data[i].input, &out2);
268 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i;
269 EXPECT_EQ(data[i].expected2, out2) << "Failed on element " << i;
277 void DoMathDataTest(data_1_int_2_t<RT1, T1, T2> (&data)[N], RT1 f(T1, T2, int*)) {
283 out1 = f(data[i].input1, data[i].input2, &out2);
284 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i;
285 EXPECT_EQ(data[i].expected2, out2) << "Failed on element " << i;
293 void DoMathDataTest(data_1_3_t<RT, T1, T2, T3> (&data)[N], RT f(T1, T2, T3)) {
298data[i].expected, f(data[i].input1, data[i].input2, data[i].input3)) << "Failed on element " << i;