Home
last modified time | relevance | path

Searched refs:testMatrix (Results 1 – 2 of 2) sorted by relevance

/external/eigen/unsupported/test/
Dmatrix_function.cpp161 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/skia/tests/
DMatrix44Test.cpp92 …SkMatrix44* testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kUninitialized_Constructor); in test_constructor() local
93 REPORTER_ASSERT(reporter, testMatrix == placeholderMatrix); in test_constructor()
94 REPORTER_ASSERT(reporter, !testMatrix->isIdentity()); in test_constructor()
97 … REPORTER_ASSERT(reporter, nearly_equal_double(row * col, testMatrix->getDouble(row, col))); in test_constructor()
102 testMatrix = 0; in test_constructor()
103 testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kIdentity_Constructor); in test_constructor()
104 REPORTER_ASSERT(reporter, testMatrix == placeholderMatrix); in test_constructor()
105 REPORTER_ASSERT(reporter, testMatrix->isIdentity()); in test_constructor()
106 REPORTER_ASSERT(reporter, *testMatrix == SkMatrix44::I()); in test_constructor()
112 testMatrix = new(&scaleMatrix) SkMatrix44(SkMatrix::I()); in test_constructor()
[all …]