public void testGetLongOnDecimal() throws RepositoryException {
BigDecimal bd1 = new BigDecimal(Long.MAX_VALUE);
BigDecimal bd2 = new BigDecimal(Double.MIN_VALUE);
assertEquals(bd1.longValue(), factory.create(bd1).getLong());
assertEquals(bd2.longValue(), factory.create(bd2).getLong());
}
//------------------------------------------------------------< BOOLEAN >---
/**
* QValueImpl has a final static constant for the TRUE and the FALSE boolean