Skip to content

Commit

Permalink
receive additional returned value in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wprzadka committed Sep 4, 2023
1 parent 1dccfca commit d0f01ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_conmech/unit_test/test_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_matrices_2d_integrals():
)

# Act
edges_features_matrix, element_initial_volume = sut_2d(elements=elements, nodes=initial_nodes)
edges_features_matrix, element_initial_volume, _ = sut_2d(elements=elements, nodes=initial_nodes)

# Assert
np.testing.assert_allclose(element_initial_volume.sum(), area)
Expand Down Expand Up @@ -50,7 +50,7 @@ def test_matrices_3d_integrals():
)

# Act
edges_features_matrix, element_initial_volume = sut_3d(elements=elements, nodes=initial_nodes)
edges_features_matrix, element_initial_volume, _ = sut_3d(elements=elements, nodes=initial_nodes)

# Assert
np.testing.assert_allclose(element_initial_volume.sum(), 1)
Expand Down

0 comments on commit d0f01ad

Please sign in to comment.