/external/angle/src/tests/gl_tests/gles1/ |
D | MatrixLoadTest.cpp | 37 angle::Mat4 testMatrix(0.0f, 4.0f, 8.0f, 12.0f, 1.0f, 5.0f, 9.0f, 10.0f, 2.0f, 6.0f, 10.0f, in TEST_P() local 42 glLoadMatrixf(testMatrix.data()); in TEST_P() 48 EXPECT_EQ(testMatrix, outputMatrix); in TEST_P() 56 angle::Mat4 testMatrix(0.0f, 4.0f, 8.0f, 12.0f, 1.0f, 5.0f, 9.0f, 10.0f, 2.0f, 6.0f, 10.0f, in TEST_P() local 61 glLoadMatrixf(testMatrix.data()); in TEST_P() 67 EXPECT_EQ(testMatrix, outputMatrix); in TEST_P() 79 angle::Mat4 testMatrix(0.0f, 4.0f, 8.0f, 12.0f, 1.0f, 5.0f, 9.0f, 10.0f, 2.0f, 6.0f, 10.0f, in TEST_P() local 98 glLoadMatrixf(testMatrix.data()); in TEST_P() 101 EXPECT_EQ(testMatrix, outputMatrix); in TEST_P()
|
D | MatrixBuiltinsTest.cpp | 42 angle::Mat4 testMatrix = angle::Mat4::Rotate(angle, angle::Vector3(x, y, z)); in TEST_P() local 51 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P() 61 angle::Mat4 testMatrix = angle::Mat4::Translate(angle::Vector3(x, y, z)); in TEST_P() local 72 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P() 82 angle::Mat4 testMatrix = angle::Mat4::Scale(angle::Vector3(x, y, z)); in TEST_P() local 93 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P() 107 angle::Mat4 testMatrix = angle::Mat4::Frustum(l, r, b, t, n, f); in TEST_P() local 116 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P() 129 angle::Mat4 testMatrix = angle::Mat4::Ortho(l, r, b, t, n, f); in TEST_P() local 138 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P()
|
D | MatrixMultTest.cpp | 37 angle::Mat4 testMatrix; in TEST_P() local 40 glMultMatrixf(testMatrix.data()); in TEST_P() 54 angle::Mat4 testMatrix = angle::Mat4::Translate(angle::Vector3(1.0f, 0.0f, 0.0f)); in TEST_P() local 58 glMultMatrixf(testMatrix.data()); in TEST_P() 61 glMultMatrixf(testMatrix.data()); in TEST_P()
|
/external/eigen/unsupported/test/ |
D | matrix_function.cpp | 161 void testMatrix(const MatrixType& A) in testMatrix() function 178 testMatrix(MatrixType::Random(size, size).eval()); in testMatrixType() 179 testMatrix(randomMatrixWithRealEivals<MatrixType>(size)); in testMatrixType() 180 testMatrix(randomMatrixWithImagEivals<MatrixType>::run(size)); in testMatrixType()
|
/external/skqp/tests/ |
D | Matrix44Test.cpp | 93 …SkMatrix44* testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kUninitialized_Constructor); in test_constructor() local 94 REPORTER_ASSERT(reporter, testMatrix == placeholderMatrix); in test_constructor() 95 REPORTER_ASSERT(reporter, !testMatrix->isIdentity()); in test_constructor() 98 … REPORTER_ASSERT(reporter, nearly_equal_double(row * col, testMatrix->getDouble(row, col))); in test_constructor() 103 testMatrix = 0; in test_constructor() 104 testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kIdentity_Constructor); in test_constructor() 105 REPORTER_ASSERT(reporter, testMatrix == placeholderMatrix); in test_constructor() 106 REPORTER_ASSERT(reporter, testMatrix->isIdentity()); in test_constructor() 107 REPORTER_ASSERT(reporter, *testMatrix == SkMatrix44::I()); in test_constructor() 113 testMatrix = new(&scaleMatrix) SkMatrix44(SkMatrix::I()); in test_constructor() [all …]
|
/external/skia/tests/ |
D | Matrix44Test.cpp | 87 …SkMatrix44* testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kUninitialized_Constructor); in test_constructor() local 88 REPORTER_ASSERT(reporter, testMatrix == placeholderMatrix); in test_constructor() 89 REPORTER_ASSERT(reporter, !testMatrix->isIdentity()); in test_constructor() 92 … REPORTER_ASSERT(reporter, nearly_equal_double(row * col, testMatrix->getDouble(row, col))); in test_constructor() 97 testMatrix = nullptr; in test_constructor() 98 testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kIdentity_Constructor); in test_constructor() 99 REPORTER_ASSERT(reporter, testMatrix == placeholderMatrix); in test_constructor() 100 REPORTER_ASSERT(reporter, testMatrix->isIdentity()); in test_constructor() 101 REPORTER_ASSERT(reporter, *testMatrix == SkMatrix44::I()); in test_constructor() 107 testMatrix = new(&scaleMatrix) SkMatrix44(SkMatrix::I()); in test_constructor() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | unicode_encode_op_test.py | 161 def testMatrix(self, encoding): member in UnicodeEncodeOpTest
|