assertEquals(eval(s, 30000, 7500, 10, 1), 4090.90909090909);
assertEquals(eval(s, 30000, 7500, 10, 10), 409.090909090909);
}
public void testVDB() throws Exception {
VDB v = new VDB();
assertEquals(eval(v, 2400, 300, 10 * 365, 0, 1), 1.315068493150680);
assertEquals(eval(v, 2400, 300, 10 * 12, 0, 1), 40.);
assertEquals(eval(v, 2400, 300, 10, 0, 1), 480.);
assertEquals(eval(v, 2400, 300, 10 * 12, 6, 18), 396.306053264751);
assertEquals(eval(v, 2400, 300, 10 * 12, 6, 18, 1.5), 311.808936658234);