37#include <boost/test/tools/floating_point_comparison.hpp>
38#include <boost/test/unit_test.hpp>
42namespace UpperTriangularMatrixUnitTests
49 double matrix_buf[] = {1, 2, 3};
52 double vector_buf[] = {10, 11};
57 double expected_buf[] = {32, 33};
60 BOOST_CHECK_EQUAL(expected_result, result);
70 double matrix_buf[] = {1, 2, 4, 3, 5, 6};
73 double vector_buf[] = {10, 11, 12};
78 double expected_buf[] = {68, 104, 72};
81 BOOST_CHECK_EQUAL(expected_result, result);
UpperTriangularMatrixFuncs Policy
BOOST_AUTO_TEST_CASE(TestMatrixVectorMultiplyUpper)
The above copyright notice and this permission notice shall be included.