Skip to content

Commit

Permalink
Fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
Chengqian-Zhang committed Dec 15, 2024
1 parent 4155294 commit a1a6583
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/tests/consistent/fitting/test_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
(0, 1), # numb_aparam
(True, False), # intensive
("foo", ["foo"]), # property_name
(3, [4], [5, 6]), # property_dim
(3, [4]), # property_dim
)
class TestProperty(CommonTest, FittingTest, unittest.TestCase):
@property
Expand Down
2 changes: 2 additions & 0 deletions source/tests/consistent/model/test_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def data(self) -> dict:
"fitting_net": {
"type": "property",
"neuron": [4, 4, 4],
"property_name": ["foo", "bar"],
"property_dim": [2,3],
"resnet_dt": True,
"numb_fparam": 0,
"precision": "float64",
Expand Down

0 comments on commit a1a6583

Please sign in to comment.