Skip to content

Commit

Permalink
Update polar test
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Oct 22, 2022
1 parent 18f824c commit 7bdc3d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/emmet-core/test_polar.py
Expand Up @@ -265,13 +265,13 @@ def test_piezoelectric(piezoelectric_structure):
assert doc.property_name == "piezoelectric"
assert doc.material_id == "mp-149"
assert doc.e_ij_max == pytest.approx(0.464365904540805)
assert doc.strain_for_max == pytest.approx(
assert [abs(n) for n in doc.strain_for_max] == pytest.approx(
[
-0.0675760207481869,
-0.97358569089405,
0.0675760207481869,
0.97358569089405,
0.110731643941102,
0.0,
-0.187890624929232,
0.187890624929232,
0.0,
]
)
Expand Down

0 comments on commit 7bdc3d4

Please sign in to comment.