Skip to content

Commit

Permalink
Added tests for all lib identifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Sep 11, 2024
1 parent ff6b81f commit 9637cf4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_material.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,16 @@ def test_material_update_format():
True,
[2.6999999e-2, 9.9999998e-01],
),
*[
(f"M20 1001.80c 0.5 8016.80c 0.5 {part}={lib}", 20, True, [0.5, 0.5])
for part, lib in [
("nlib", "80c"),
("nlib", "701nc"),
("estep", 1),
("pnlib", "710nc"),
("slib", "80c"),
]
],
],
)
def test_material_init(line, mat_number, is_atom, fractions):
Expand Down

0 comments on commit 9637cf4

Please sign in to comment.