File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ def test_parse_trafo_connection__pos():
2121 assert parse_trafo_connection ("YNy" ) == {"winding_from" : "YN" , "winding_to" : "y" , "clock" : None }
2222 assert parse_trafo_connection ("Dy5" ) == {"winding_from" : "D" , "winding_to" : "y" , "clock" : "5" }
2323 assert parse_trafo_connection ("Dy11" ) == {"winding_from" : "D" , "winding_to" : "y" , "clock" : "11" }
24+ assert parse_trafo_connection ("Dyn-1" ) == {"winding_from" : "D" , "winding_to" : "yn" , "clock" : "-1" }
2425
2526
2627def test_parse_trafo_connection__neg ():
@@ -79,6 +80,13 @@ def test_parse_trafo3_connection__pos():
7980 "winding_3" : "d" ,
8081 "clock_13" : "11" ,
8182 }
83+ assert parse_trafo3_connection ("Dyn-1yn-1" ) == {
84+ "winding_1" : "D" ,
85+ "winding_2" : "yn" ,
86+ "clock_12" : "-1" ,
87+ "winding_3" : "yn" ,
88+ "clock_13" : "-1" ,
89+ }
8290
8391
8492def test_parse_trafo3_connection__neg ():
You can’t perform that action at this time.
0 commit comments