@@ -71,33 +71,33 @@ def test_junction_entry_equality():
7171 t1 = pya .DCplxTrans (1 , 0 , False , pya .DVector (1 , 2 ))
7272 t1_ = pya .DCplxTrans (1 , 0 , False , pya .DVector (1 , 2 ))
7373 t2 = pya .DCplxTrans (1 , 180 , False , pya .DVector (2 , 3 ))
74- junction_entry = JunctionEntry (Manhattan , t1 , {"a" : 10 , "b" : 6 }, "qb_0" , "squid" )
74+ junction_entry = JunctionEntry (Manhattan , t1 , [ t1 ], {"a" : 10 , "b" : 6 }, "qb_0" , "squid" )
7575 assert junction_entry == JunctionEntry (
76- Manhattan , t1_ , {"b" : 6 , "a" : 10 }, "qb_0" , "squid"
76+ Manhattan , t1_ , [ t1_ ], {"b" : 6 , "a" : 10 }, "qb_0" , "squid"
7777 ), "Expected these JunctionEntry objects to be considered equal"
7878 assert junction_entry != JunctionEntry (
79- ManhattanSingleJunction , t1 , {"a" : 10 , "b" : 6 }, "qb_0" , "squid"
79+ ManhattanSingleJunction , t1 , [ t1 ], {"a" : 10 , "b" : 6 }, "qb_0" , "squid"
8080 ), "JunctionEntry objects should not be considered equal if they have different type"
8181 assert junction_entry != JunctionEntry (
82- type (None ), t1 , {"a" : 10 , "b" : 6 }, "qb_0" , "squid"
82+ type (None ), t1 , [ t1 ], {"a" : 10 , "b" : 6 }, "qb_0" , "squid"
8383 ), "JunctionEntry objects should not be considered equal if they have different type"
8484 assert junction_entry != JunctionEntry (
85- Manhattan , t2 , {"a" : 10 , "b" : 6 }, "qb_0" , "squid"
85+ Manhattan , t2 , [ t2 ], {"a" : 10 , "b" : 6 }, "qb_0" , "squid"
8686 ), "JunctionEntry objects should not be considered equal if they have different transformation"
8787 assert junction_entry != JunctionEntry (
88- Manhattan , t1 , {"a" : 10 , "b" : 7 }, "qb_0" , "squid"
88+ Manhattan , t1 , [ t1 ], {"a" : 10 , "b" : 7 }, "qb_0" , "squid"
8989 ), "JunctionEntry objects should not be considered equal if they have different parameters"
9090 assert junction_entry != JunctionEntry (
91- Manhattan , t1 , {"a" : 10 , "b" : 6 , "c" : 0 }, "qb_0" , "squid"
91+ Manhattan , t1 , [ t1 ], {"a" : 10 , "b" : 6 , "c" : 0 }, "qb_0" , "squid"
9292 ), "JunctionEntry objects should not be considered equal if they have different parameters"
9393 assert junction_entry != JunctionEntry (
94- Manhattan , t1 , {"b" : 6 }, "qb_0" , "squid"
94+ Manhattan , t1 , [ t1 ], {"b" : 6 }, "qb_0" , "squid"
9595 ), "JunctionEntry objects should not be considered equal if they have different parameters"
9696 assert junction_entry != JunctionEntry (
97- Manhattan , t1 , {"a" : 10 , "b" : 6 }, "qb_1" , "squid"
97+ Manhattan , t1 , [ t1 ], {"a" : 10 , "b" : 6 }, "qb_1" , "squid"
9898 ), "JunctionEntry objects should not be considered equal if they have different parent name"
9999 assert junction_entry != JunctionEntry (
100- Manhattan , t1 , {"a" : 10 , "b" : 6 }, "qb_0" , "squid_1"
100+ Manhattan , t1 , [ t1 ], {"a" : 10 , "b" : 6 }, "qb_0" , "squid_1"
101101 ), "JunctionEntry objects should not be considered equal if they have different parent name"
102102
103103
0 commit comments