### Question:
PreciseNumber { public int getScale() { return scale; } PreciseNumber(BigDecimal bigDecimal);  PreciseNumber(int scale, BigDecimal bigDecimal);  PreciseNumber(BigDecimal bigDecimal, int precision);  PreciseNumber(BigDecimal bigDecimal, int precision, int scale); BigDecimal getBigDecimal(); int getPrecision(); int getScale(); BigDecimal get();  }### Answer:
@Test public void testGetScale() throws OperationException { System.out.println("getScale"); PreciseNumber instance; instance = new PreciseNumber(BigDecimal.ZERO); assertEquals(0, instance.getScale()); instance = new PreciseNumber(BigDecimal.ZERO, 38); assertEquals(0, instance.getScale()); instance = new PreciseNumber(2, BigDecimal.ZERO); assertEquals(2, instance.getScale()); instance = new PreciseNumber(0, BigDecimal.ZERO); assertEquals(0, instance.getScale()); instance = new PreciseNumber(-2, BigDecimal.ZERO); assertEquals(-2, instance.getScale()); instance = new PreciseNumber(BigDecimal.ZERO, 38, 2); assertEquals(2, instance.getScale()); instance = new PreciseNumber(BigDecimal.ZERO, 38, 0); assertEquals(0, instance.getScale()); instance = new PreciseNumber(BigDecimal.ZERO, 38, -2); assertEquals(-2, instance.getScale()); }