use of pcgen.core.LevelInfo in project pcgen by PCGen.
the class XPTableFacetTest method testGetLevelInfo.
@Test
public void testGetLevelInfo() {
XPTable t1 = getItem();
LevelInfo li = new LevelInfo();
t1.addLevelInfo("1", li);
CharID id = getCharID();
facet.set(id, t1);
LevelInfo xpt = facet.getLevelInfo(id, 1);
assertNotNull(xpt);
assertSame(li, xpt);
}
Aggregations