@Test
public void testPriceFractionString() {

	
	Fraction frac;
	PriceValue price;
	long fraction;
	String string;
	
	frac = BIN_N01;
	price = newPrice(123500, -3);
	fraction = frac.priceFraction(price.mantissa(), price.exponent());
	assertEquals(1, fraction); // 1/2
	string = display.priceFractionText(price, frac);
	assertEquals("1", string); // 1/2
	frac = BIN_N02;
	price = newPrice(123500, -3);
	fraction = frac.priceFraction(price.mantissa(), price.exponent());
	assertEquals(2, fraction); // 2/4
	string = display.priceFractionText(price, frac);
	assertEquals("2", string); // 2/4
	frac = BIN_N03;
	price = newPrice(123500, -3);
	fraction = frac.priceFraction(price.mantissa(), price.exponent());
	assertEquals(4, fraction); // 4/8
	string = display.priceFractionText(price, frac);
	assertEquals("4", string); // 4/8
	frac = BIN_N04;
	price = newPrice(123500, -3);
	fraction = frac.priceFraction(price.mantissa(), price.exponent());
	assertEquals(8, fraction); // 8/16
	string = display.priceFractionText(price, frac);
	assertEquals("08", string); // 08/16
	frac = BIN_N07;
	price = newPrice(123500, -3);
	fraction = frac.priceFraction(price.mantissa(), price.exponent());
	assertEquals(64, fraction); // 64/128
	string = display.priceFractionText(price, frac);
	assertEquals("064", string); // 64/128
	
}