public function testDiscountRoundingError()
 {
     // This extension adds a fractional discount, which could cause
     // the displayed unit price not to match the charged price at
     // large quantities.
     Product::add_extension('ProductTest_FractionalDiscountExtension');
     DataObject::flush_and_destroy_cache();
     $tshirt = Product::get()->byID($this->tshirt->ID);
     Config::inst()->update('Order', 'rounding_precision', 2);
     $this->assertEquals(24.99, $tshirt->sellingPrice());
     Config::inst()->update('Order', 'rounding_precision', 3);
     $this->assertEquals(24.985, $tshirt->sellingPrice());
     Product::remove_extension('ProductTest_FractionalDiscountExtension');
 }