import org.boris.expr.function.excel.VDB;
public class ExcelFinancialFunctionsTest extends TH
{
public void testDB() throws Exception {
DB d = new DB();
assertEquals(eval(d, 1000000, 100000, 6, 1, 7), 186083.33333333334);
assertEquals(eval(d, 1000000, 100000, 6, 2, 7), 259639.41666666667);
assertEquals(eval(d, 1000000, 100000, 6, 3, 7), 176814.44275000002);
assertEquals(eval(d, 1000000, 100000, 6, 4, 7), 120410.63551274998);
assertEquals(eval(d, 1000000, 100000, 6, 5, 7), 81999.64278418274);