reset password
Author Message
dtang9
Posts: 52
Posted 08:58 Nov 05, 2018 |

In your model JUnit test, when you did t.add(cain, 1, 2) are you using getNodeById(1) to find the parent 1 node and getNodeById(2) to find the parent 2 node?

jhurley
Posts: 207
Posted 11:49 Nov 05, 2018 |

add() should do that when you send the parameters