{ 1, 4 }, { 3, 5 }, { 4, 6, 10, 11, 16 }, { 5, 7 }, { 6, 8 },
{ 7, 9 }, { 8 }, { 5 }, { 5, 12 }, { 11, 13 }, { 12, 14 },
{ 13, 15 }, { 14 }, { 5 }, { 1 } };
RNASpecificTree tree = new RNASpecificTree();
tree.buildFromViennaFormat(
"CGACAGGAAACUGACAAACCCUUUCAUCUUAA".toCharArray(),
"...((((...))...(((...)))..))....".toCharArray());
int[][] ans = tree.getEdges();
Assert.assertEquals("The structure is not the same as expected", true,