feat(linear-static-3d-euler-beam): step 9 - dense-math-adapters-review-fix
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <limits>
|
||||
#include <stdexcept>
|
||||
#include <utility>
|
||||
|
||||
@@ -9,6 +10,10 @@ namespace fesa {
|
||||
namespace {
|
||||
|
||||
TEST(DenseMath, RowMajorMatrixMatchesKnownGemvGemm) {
|
||||
const std::size_t wraparoundRows =
|
||||
(std::numeric_limits<std::size_t>::max)() / 2U + 1U;
|
||||
EXPECT_THROW(static_cast<void>(Matrix{wraparoundRows, 2}), std::length_error);
|
||||
|
||||
Matrix zeroRows{0, 3};
|
||||
Vector threeValues{3, 2.0};
|
||||
const Vector zeroRowProduct = zeroRows.multiply(threeValues);
|
||||
|
||||
Reference in New Issue
Block a user