diff --git a/tests/beam_element_tests.cpp b/tests/beam_element_tests.cpp index b9ec514..34e86af 100644 --- a/tests/beam_element_tests.cpp +++ b/tests/beam_element_tests.cpp @@ -298,8 +298,8 @@ TEST_F(beamFEATest, CorrectTipDisplacementCantileverBeam) { // the second row checks the analytical result for tip displacement // for the given load in the y-direction of 0.01 yields the correct // displacement and rotation - std::vector > expected = {{0., 0., 0., 0., 0., 0.}, - {0., 0.033333333333333333, 0., 0.0, 0.0, 0.05}}; + std::vector > expected = {{0., 0., 0., 0., 0., 0.}, + {0., 0.033333333333333333, 0., 0., 0., 0.05}}; for (size_t i = 0; i < summary.nodal_displacements.size(); ++i) { for (size_t j = 0; j < summary.nodal_displacements[i].size(); ++j) @@ -323,8 +323,8 @@ TEST_F(beamFEATest, CorrectTipForcesCantileverBeam) { Summary summary = solve(JOB_CANTILEVER, bcs, forces, ties, equations, opts); - std::vector > expected = {{-0.1, -0.3, 0., 0., 0., -0.3}, - {0.1, 0.3, 0., 0.0, 0.0, 0.0}}; + std::vector > expected = {{-0.1, -0.3, 0., 0., 0., -0.3}, + { 0.1, 0.3, 0., 0., 0., 0.}}; for (size_t i = 0; i < summary.nodal_forces.size(); ++i) { for (size_t j = 0; j < summary.nodal_forces[i].size(); ++j) @@ -332,7 +332,6 @@ TEST_F(beamFEATest, CorrectTipForcesCantileverBeam) { } } - // This tests the tie constraints correctly deform. // I have extremely stiff elements and apply a // displacement to the end node. It is expected