use of org.geometerplus.fbreader.bookmodel.ContentsModel in project FBReaderJ by geometer.
the class TestFB2Reader method testTreeParagraphRef.
public void testTreeParagraphRef() {
BookModel bookModel = new BookModel(myDirectory + "tree1.fb2");
new FB2Reader(bookModel).read();
ContentsModel model = bookModel.getContentsModel();
assertTrue(model.getReference((ZLTextTreeParagraph) model.getParagraph(0)) == 0);
}
Aggregations