36#include <boost/test/tools/floating_point_comparison.hpp>
37#include <boost/test/unit_test.hpp>
41namespace LowerTriangularMatrixUnitTests
48 double matrix_buf[] = {1, 2, 3};
51 double vector_buf[] = {10, 11};
56 double expected_buf[] = {10, 53};
59 BOOST_CHECK_EQUAL(expected_result, result);
69 double matrix_buf[] = {1, 2, 4, 3, 5, 6};
72 double vector_buf[] = {10, 11, 12};
77 double expected_buf[] = {10, 53, 167};
80 BOOST_CHECK_EQUAL(expected_result, result);
BOOST_AUTO_TEST_CASE(TestMatrixVectorMultiplyLower)
LowerTriangularMatrixFuncs Policy
The above copyright notice and this permission notice shall be included.