Skip to content

Commit

Permalink
Merge branch 'main' into springs-assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
faisal-bhuiyan committed Dec 19, 2024
2 parents 78fedbb + 5b03a22 commit 383a181
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/regression_tests/regression/test_springs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ inline auto SetUpSprings() {

TEST(SpringsTest, NodeStateIndices) {
const auto springs = SetUpSprings();
EXPECT_EQ(springs.node_state_indices(0, 0), 0);
EXPECT_EQ(springs.node_state_indices(0, 1), 1);
auto node_state_indices_host = Kokkos::create_mirror(springs.node_state_indices);
Kokkos::deep_copy(node_state_indices_host, springs.node_state_indices);
EXPECT_EQ(node_state_indices_host(0, 0), 0);
EXPECT_EQ(node_state_indices_host(0, 1), 1);
}

TEST(SpringsTest, InitialPositionVector) {
Expand Down

0 comments on commit 383a181

Please sign in to comment.