### Question:
NumericUtilities { public static String formatNumber(long number, int radix) { return formatNumber(number, radix, SignednessFormatMode.DEFAULT); } private  NumericUtilities(); static long parseNumber(String numStr); static long parseLong(String numStr); static long parseOctLong(String numStr); static long parseHexLong(String numStr); static BigInteger parseHexBigInteger(String numStr); final static String toHexString(long value); final static String toHexString(long value, int size); final static String toSignedHexString(long value); final static BigInteger unsignedLongToBigInteger(long value); final static long bigIntegerToUnsignedLong(BigInteger value); static long getUnsignedAlignedValue(long unsignedValue, long alignment); static String convertMaskedValueToHexString(long msk, long val, int n, boolean truncate,
			int spaceevery, String spacer); static String convertMaskToHexString(long msk, int n, boolean truncate, int spaceevery,
			String spacer); static void convertHexStringToMaskedValue(AtomicLong msk, AtomicLong val, String hex,
			int n, int spaceevery, String spacer); static String formatNumber(long number, int radix); static String formatNumber(long number, int radix, SignednessFormatMode mode); static byte[] convertStringToBytes(String hexString); static String toString(byte b); static String convertBytesToString(byte[] bytes); static String convertBytesToString(byte[] bytes, String delimeter); static String convertBytesToString(byte[] bytes, int start, int len, String delimeter); static String convertBytesToString(Iterator<Byte> bytes, String delimiter); static String convertBytesToString(Iterable<Byte> bytes, String delimiter); static String convertBytesToString(Stream<Byte> bytes, String delimiter); static boolean isIntegerType(Number number); static boolean isIntegerType(Class<?> numClass); static boolean isFloatingPointType(Number number); static boolean isFloatingPointType(Class<?> numClass); static final BigInteger MAX_UNSIGNED_LONG; static final BigInteger MAX_SIGNED_LONG; }### Answer:
@Test public void testFormatNumber() { long number = 100; assertEquals("\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00d\"", NumericUtilities.formatNumber(number, 0)); assertEquals("1100100b", NumericUtilities.formatNumber(number, 2)); assertEquals("144o", NumericUtilities.formatNumber(number, 8)); assertEquals("100", NumericUtilities.formatNumber(number, 10)); assertEquals("64h", NumericUtilities.formatNumber(number, 16)); }