Home
last modified time | relevance | path

Searched refs:v3 (Results 1 – 25 of 86) sorted by relevance

1234

/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest_pred_impl.h185 const T3& v3) { in AssertPred3Helper() argument
186 if (pred(v1, v2, v3)) return AssertionSuccess(); in AssertPred3Helper()
194 << "\n" << e3 << " evaluates to " << v3; in AssertPred3Helper()
199 #define GTEST_PRED_FORMAT3_(pred_format, v1, v2, v3, on_failure)\ argument
200 GTEST_ASSERT_(pred_format(#v1, #v2, #v3, v1, v2, v3), \
205 #define GTEST_PRED3_(pred, v1, v2, v3, on_failure)\ argument
209 #v3, \
213 v3), on_failure)
216 #define EXPECT_PRED_FORMAT3(pred_format, v1, v2, v3) \ argument
217 GTEST_PRED_FORMAT3_(pred_format, v1, v2, v3, GTEST_NONFATAL_FAILURE_)
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.comparison/
Dand_value_valarray.pass.cpp29 std::valarray<bool> v3 = 5 && v2; in main() local
30 assert(v2.size() == v3.size()); in main()
31 for (int i = 0; i < v3.size(); ++i) in main()
32 assert(v3[i] == a3[i]); in main()
40 std::valarray<bool> v3 = 0 && v2; in main() local
41 assert(v2.size() == v3.size()); in main()
42 for (int i = 0; i < v3.size(); ++i) in main()
43 assert(v3[i] == a3[i]); in main()
Dor_value_valarray.pass.cpp29 std::valarray<bool> v3 = 5 || v2; in main() local
30 assert(v2.size() == v3.size()); in main()
31 for (int i = 0; i < v3.size(); ++i) in main()
32 assert(v3[i] == a3[i]); in main()
40 std::valarray<bool> v3 = 0 || v2; in main() local
41 assert(v2.size() == v3.size()); in main()
42 for (int i = 0; i < v3.size(); ++i) in main()
43 assert(v3[i] == a3[i]); in main()
Dand_valarray_value.pass.cpp29 std::valarray<bool> v3 = v1 && 5; in main() local
30 assert(v1.size() == v3.size()); in main()
32 assert(v3[i] == a3[i]); in main()
40 std::valarray<bool> v3 = v1 && 0; in main() local
41 assert(v1.size() == v3.size()); in main()
43 assert(v3[i] == a3[i]); in main()
Dor_valarray_value.pass.cpp29 std::valarray<bool> v3 = v1 || 5; in main() local
30 assert(v1.size() == v3.size()); in main()
32 assert(v3[i] == a3[i]); in main()
40 std::valarray<bool> v3 = v1 || 0; in main() local
41 assert(v1.size() == v3.size()); in main()
43 assert(v3[i] == a3[i]); in main()
Dgreater_value_valarray.pass.cpp29 std::valarray<bool> v3 = 2 > v2; in main() local
30 assert(v2.size() == v3.size()); in main()
31 for (int i = 0; i < v3.size(); ++i) in main()
32 assert(v3[i] == a3[i]); in main()
Dless_value_valarray.pass.cpp29 std::valarray<bool> v3 = 2 < v2; in main() local
30 assert(v2.size() == v3.size()); in main()
31 for (int i = 0; i < v3.size(); ++i) in main()
32 assert(v3[i] == a3[i]); in main()
Dnot_equal_value_valarray.pass.cpp29 std::valarray<bool> v3 = 2 != v2; in main() local
30 assert(v2.size() == v3.size()); in main()
31 for (int i = 0; i < v3.size(); ++i) in main()
32 assert(v3[i] == a3[i]); in main()
Dequal_value_valarray.pass.cpp29 std::valarray<bool> v3 = 2 == v2; in main() local
30 assert(v2.size() == v3.size()); in main()
31 for (int i = 0; i < v3.size(); ++i) in main()
32 assert(v3[i] == a3[i]); in main()
Dless_equal_value_valarray.pass.cpp29 std::valarray<bool> v3 = 2 <= v2; in main() local
30 assert(v2.size() == v3.size()); in main()
31 for (int i = 0; i < v3.size(); ++i) in main()
32 assert(v3[i] == a3[i]); in main()
Dgreater_equal_value_valarray.pass.cpp29 std::valarray<bool> v3 = 2 >= v2; in main() local
30 assert(v2.size() == v3.size()); in main()
31 for (int i = 0; i < v3.size(); ++i) in main()
32 assert(v3[i] == a3[i]); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.transcend/
Dabs_valarray.pass.cpp29 std::valarray<T> v3 = abs(v1); in main() local
30 assert(v3.size() == v1.size()); in main()
31 for (int i = 0; i < v3.size(); ++i) in main()
32 assert(v3[i] == a3[i]); in main()
Dsinh_valarray.pass.cpp46 std::valarray<T> v3 = sinh(v1); in main() local
47 assert(v3.size() == v1.size()); in main()
48 for (int i = 0; i < v3.size(); ++i) in main()
49 assert(is_about(v3[i], a3[i], 10)); in main()
Datan2_valarray_value.pass.cpp46 std::valarray<T> v3 = atan2(v1, .75); in main() local
47 assert(v3.size() == v1.size()); in main()
48 for (int i = 0; i < v3.size(); ++i) in main()
49 assert(is_about(v3[i], a3[i], 10)); in main()
Dsqrt_valarray.pass.cpp46 std::valarray<T> v3 = sqrt(v1); in main() local
47 assert(v3.size() == v1.size()); in main()
48 for (int i = 0; i < v3.size(); ++i) in main()
49 assert(is_about(v3[i], a3[i], 10)); in main()
Dlog10_valarray.pass.cpp46 std::valarray<T> v3 = log10(v1); in main() local
47 assert(v3.size() == v1.size()); in main()
48 for (int i = 0; i < v3.size(); ++i) in main()
49 assert(is_about(v3[i], a3[i], 10)); in main()
Dcos_valarray.pass.cpp46 std::valarray<T> v3 = cos(v1); in main() local
47 assert(v3.size() == v1.size()); in main()
48 for (int i = 0; i < v3.size(); ++i) in main()
49 assert(is_about(v3[i], a3[i], 10)); in main()
Dtan_valarray.pass.cpp46 std::valarray<T> v3 = tan(v1); in main() local
47 assert(v3.size() == v1.size()); in main()
48 for (int i = 0; i < v3.size(); ++i) in main()
49 assert(is_about(v3[i], a3[i], 10)); in main()
Dpow_value_valarray.pass.cpp46 std::valarray<T> v3 = pow(2.0, v1); in main() local
47 assert(v3.size() == v1.size()); in main()
48 for (int i = 0; i < v3.size(); ++i) in main()
49 assert(is_about(v3[i], a3[i], 10)); in main()
Dexp_valarray.pass.cpp46 std::valarray<T> v3 = exp(v1); in main() local
47 assert(v3.size() == v1.size()); in main()
48 for (int i = 0; i < v3.size(); ++i) in main()
49 assert(is_about(v3[i], a3[i], 10)); in main()
Dcosh_valarray.pass.cpp46 std::valarray<T> v3 = cosh(v1); in main() local
47 assert(v3.size() == v1.size()); in main()
48 for (int i = 0; i < v3.size(); ++i) in main()
49 assert(is_about(v3[i], a3[i], 10)); in main()
Dsin_valarray.pass.cpp46 std::valarray<T> v3 = sin(v1); in main() local
47 assert(v3.size() == v1.size()); in main()
48 for (int i = 0; i < v3.size(); ++i) in main()
49 assert(is_about(v3[i], a3[i], 10)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.valarray/valarray.cassign/
Ddivide_valarray.pass.cpp29 std::valarray<T> v3(a3, N); in main() local
30 v3 /= v2; in main()
32 assert(v1.size() == v3.size()); in main()
34 assert(v1[i] == v3[i]); in main()
Dminus_valarray.pass.cpp29 std::valarray<T> v3(a3, N); in main() local
30 v3 -= v2; in main()
32 assert(v1.size() == v3.size()); in main()
34 assert(v1[i] == v3[i]); in main()
Dshift_right_valarray.pass.cpp29 std::valarray<T> v3(a3, N); in main() local
30 v3 >>= v2; in main()
32 assert(v1.size() == v3.size()); in main()
34 assert(v1[i] == v3[i]); in main()

1234