void test(){ testAdd(); testSub(); testMult(); testScale(); testEquals(); testDivision(); testAbsolute(); testArgument(); printf("All passed!\n"); }
void testMatrices() { std::cout << "Testing Identity" << std::endl; testIdentity(); std::cout << "Testing Translate" << std::endl; testTranslate(); std::cout << "Testing Scale" << std::endl; testScale(); std::cout << "Testing Rotate" << std::endl; testRotate(); std::cout << "Testing Identity Multiply" << std::endl; testIdentityMultiply(); std::cout << "Testing Rotate Translate Multiplication" << std::endl; testRotateTranslate(); }
void CMMFTestVideoDecodeHwDevice::SetScaleOptionsL(const TSize& aTargetSize, TBool aAntiAliasFiltering) { TSize testScale(KTestScaleX, KTestScaleY); if (!(aTargetSize == testScale) || !aAntiAliasFiltering) User::Leave(KErrCorrupt); }