@@ -98,7 +98,7 @@ public void test1()
9898 assertEquals (1 , nn .getOutputLinks (0 ).size ());
9999 PartNode child_1 = (PartNode ) nn .getOutputLinks (0 ).get (0 ).getNode ();
100100 Part child_part = child_1 .getPart ();
101- assertEquals (ComposedPart .compose (Cell .get (0 , 0 ), NthOutput .FIRST ), child_part );
101+ assertEquals (ComposedPart .compose (Cell .get (0 , 0 ), NthInput .FIRST ), child_part );
102102 }
103103 }
104104
@@ -140,7 +140,7 @@ public void test2()
140140 assertEquals (1 , nn .getOutputLinks (0 ).size ());
141141 PartNode child_1 = (PartNode ) nn .getOutputLinks (0 ).get (0 ).getNode ();
142142 Part child_part1 = child_1 .getPart ();
143- assertEquals (ComposedPart .compose (Cell .get (0 , 0 ), NthOutput .FIRST ), child_part1 );
143+ assertEquals (ComposedPart .compose (Cell .get (0 , 0 ), NthInput .FIRST ), child_part1 );
144144 }
145145 }
146146
@@ -179,10 +179,10 @@ public void test3()
179179 PartNode child_1 = (PartNode ) nn .getOutputLinks (0 ).get (0 ).getNode ();
180180 assertEquals (1 , nn .getOutputLinks (1 ).size ());
181181 Part child_part1 = child_1 .getPart ();
182- assertEquals (ComposedPart .compose (Cell .get (0 , 0 ), NthOutput .FIRST ), child_part1 );
182+ assertEquals (ComposedPart .compose (Cell .get (0 , 0 ), NthInput .FIRST ), child_part1 );
183183 PartNode child_2 = (PartNode ) nn .getOutputLinks (1 ).get (0 ).getNode ();
184184 Part child_part2 = child_2 .getPart ();
185- assertEquals (ComposedPart .compose (Cell .get (1 , 0 ), NthOutput .FIRST ), child_part2 );
185+ assertEquals (ComposedPart .compose (Cell .get (1 , 0 ), NthInput .FIRST ), child_part2 );
186186 }
187187 }
188188
@@ -223,7 +223,7 @@ public void test4()
223223 PartNode child_1 = (PartNode ) nn .getOutputLinks (0 ).get (0 ).getNode ();
224224 assertEquals (1 , nn .getOutputLinks (1 ).size ());
225225 Part child_part1 = child_1 .getPart ();
226- assertEquals (ComposedPart .compose (Cell .get (0 , 0 ), NthOutput .FIRST ), child_part1 );
226+ assertEquals (ComposedPart .compose (Cell .get (0 , 0 ), NthInput .FIRST ), child_part1 );
227227 PartNode child_2 = (PartNode ) nn .getOutputLinks (1 ).get (0 ).getNode ();
228228 Part child_part2 = child_2 .getPart ();
229229 assertEquals (ComposedPart .compose (Cell .get (0 , 0 ), NthInput .SECOND ), child_part2 );
@@ -253,7 +253,7 @@ public void test5()
253253 assertEquals (1 , nn .getOutputLinks (0 ).size ());
254254 PartNode child_1 = (PartNode ) nn .getOutputLinks (0 ).get (0 ).getNode ();
255255 Part child_part1 = child_1 .getPart ();
256- assertEquals (ComposedPart .compose (Cell .get (1 , 0 ), NthOutput .FIRST ), child_part1 );
256+ assertEquals (ComposedPart .compose (Cell .get (1 , 0 ), NthInput .FIRST ), child_part1 );
257257 }
258258 {
259259 // 0:1 is explained by the value of 0:0, which in turn is explained
@@ -274,7 +274,7 @@ public void test5()
274274 assertEquals (1 , nn2 .getOutputLinks (0 ).size ());
275275 PartNode child_3 = (PartNode ) nn2 .getOutputLinks (0 ).get (0 ).getNode ();
276276 Part child_part3 = child_3 .getPart ();
277- assertEquals (ComposedPart .compose (Cell .get (1 , 0 ), NthOutput .FIRST ), child_part3 );
277+ assertEquals (ComposedPart .compose (Cell .get (1 , 0 ), NthInput .FIRST ), child_part3 );
278278 }
279279 }
280280}
0 commit comments