完善AMESim可配置参数交互
补充气动孔口、动态管路、UD00 与弹性接触组件的离散选项、条件显示和折叠分组。 增加目录协议、非法选项和前端参数表交互回归测试,不修改现有求解公式。
This commit is contained in:
1 parent
be54070855
commit
df1d676131
12 files changed
+1262
-69
No files matched your search
@@ -28,7 +28,7 @@ class AmesimPnor001ComponentTests(unittest.TestCase):
|
||||
self.assertEqual(orifice.flowset, 1)
|
||||
|
||||
def test_rejects_fractional_integer_parameters(self) -> None:
|
||||
with self.assertRaisesRegex(ValueError, "flowset must be an integer"):
|
||||
with self.assertRaisesRegex(ValueError, "must be one of"):
|
||||
COMPONENT_MODEL_REGISTRY["amesim_pnor001"].create(
|
||||
"pnor_1",
|
||||
self.medium,
|
||||
|
||||
Reference in new issue
Block a user