function testTBillPrice()
 {
     // various random calculations
     $this->assertTrue(abs(98.45 - Math_Finance::TBillPrice(mktime(0, 0, 0, 3, 31, 2008), mktime(0, 0, 0, 6, 1, 2008), 0.09)) < FINANCE_PRECISION);
     // settlement must be before maturity
     $this->assertType('object', Math_Finance::TBillPrice(mktime(0, 0, 0, 6, 1, 2008), mktime(0, 0, 0, 3, 31, 2008), 0.09));
     // maturity can't be more than one year after settlement
     $this->assertType('object', Math_Finance::TBillPrice(mktime(0, 0, 0, 6, 1, 2008), mktime(0, 0, 0, 3, 31, 2010), 0.09));
 }