25 std::cout <<
"testing maximum(vector)" << std::endl;
27 std::vector< int >{5, 8, 4, 3, -1}) == 8));
29 std::cout <<
"testing minimum(vector)" << std::endl;
31 std::vector< int >{5, 8, 4, 3, -1}) == -1));
33 std::cout <<
"testing mean(vector)" << std::endl;
37 std::cout <<
"testing median(vector)" << std::endl;
39 std::vector< int >{5, 8, 4, 3, -1}) == 4));
41 std::cout <<
"testing dot_product(vector1, vector2)" << std::endl;
43 std::vector< int >{5, 8, 4, 3, -1},
44 std::vector< int >{10, -2, -3, 2, 1}) == 27));
46 std::cout <<
"testing cross_product(vector1, vector2)" << std::endl;
48 std::vector< int >{10, -2, -3}) ==
49 std::vector< int >{-11, 2, -38}));
53 std::cout <<
"Test passed.\n";