Lines Matching refs:MapScalars
219 * @tc.desc: Test the function MapScalars of the class Matrix3.
234 * function MapScalars with single parameter.
235 * @tc.expected: The function MapScalars does not work and all values of the return vector are equal to zero.
238 std::vector<double> dstVec = matrixObj1.MapScalars(srcVec);
246 * function MapScalars with single parameter.
250 dstVec = matrixObj1.MapScalars(srcVec);
257 * function MapScalars with two parameters.
258 * @tc.expected: The function MapScalars does not work and the return vector is empty.
264 EXPECT_FALSE(matrixObj1.MapScalars(srcVec, dstVec));
269 * function MapScalars with two parameters.
273 EXPECT_TRUE(matrixObj1.MapScalars(srcVec, dstVec));
281 * @tc.desc: Test the function MapScalars of the class Matrix3N.
296 * function MapScalars with single parameter.
297 * @tc.expected: The function MapScalars does not work and all values of the return vector are equal to zero.
300 std::vector<double> dstVec = matrix3NObj1.MapScalars(srcVec);
308 * function MapScalars with single parameter.
313 dstVec = matrix3NObj1.MapScalars(srcVec);
320 * function MapScalars with two parameters.
321 * @tc.expected: The function MapScalars does not work and the return vector is empty.
327 EXPECT_FALSE(matrix3NObj1.MapScalars(srcVec, dstVec));
332 * function MapScalars with two parameters.
337 EXPECT_TRUE(matrix3NObj1.MapScalars(srcVec, dstVec));
345 * @tc.desc: Test the function MapScalars of the class MatrixN3.
359 * @tc.steps2: Given the vector srcVec whose size is invalid, test the function MapScalars.
360 * @tc.expected: The function MapScalars does not work and all values of the return vector are equal to zero.
363 std::vector<double> dstVec = matrixN3Obj1.MapScalars(srcVec);
371 * @tc.steps3: Given the vector srcVec whose size is valid, test the function MapScalars.
375 dstVec = matrixN3Obj1.MapScalars(srcVec);