公开PNRP17并接通实时气动机械耦合
This commit is contained in:
1 parent
503394f3ed
commit
1f4027573f
18 files changed
+693
-29
No files matched your search
@@ -18,16 +18,15 @@ class AmesimComponentMigrationMatrixTests(unittest.TestCase):
|
||||
|
||||
self.assertEqual(missing, [])
|
||||
|
||||
def test_unsupported_domains_are_not_marked_as_public_candidates(self) -> None:
|
||||
def test_pnrp17_is_marked_as_the_first_public_cross_domain_component(self) -> None:
|
||||
text = MATRIX_PATH.read_text(encoding="utf-8")
|
||||
unsupported = {
|
||||
"PNRP17",
|
||||
}
|
||||
row = next(
|
||||
line for line in text.splitlines() if "| `PNRP17` |" in line
|
||||
)
|
||||
|
||||
for family in unsupported:
|
||||
with self.subTest(family=family):
|
||||
row = next(line for line in text.splitlines() if f"`{family}`" in line)
|
||||
self.assertIn("暂不公开", row)
|
||||
self.assertIn("第一版公开", row)
|
||||
self.assertIn("`amesim_pnrp17`", row)
|
||||
self.assertNotIn("暂不公开", row)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in new issue
Block a user