@@ -0,0 +1,1282 @@
+package co.phoenixlab.common.lang.number;%0A%0Aimport co.phoenixlab.common.testutils.TestUtils;%0Aimport org.junit.*;%0A%0Aimport static org.junit.Assert.*;%0A%0Apublic class DigitTest %7B%0A%0A    @Test%0A    public void testIsUtilityClass() throws Exception%7B%0A        TestUtils.testIsUtilityClass(Digit.class);%0A    %7D%0A%0A    @Test%0A    public void testDecDigit() throws Exception %7B%0A        for (int i = 0; i %3C 10; i++) %7B%0A            char c = (char) ('0' + i);%0A            assertEquals(i, Digit.decDigit(c));%0A        %7D%0A    %7D%0A%0A    @Test(expected = NumberFormatException.class)%0A    public void testDecDigitInvalid() throws Exception %7B%0A        Digit.decDigit('a');%0A    %7D%0A%0A    @Test%0A    public void testHexDigit() throws Exception %7B%0A        for (int i = 0; i %3C 10; i++) %7B%0A            char c = (char) ('0' + i);%0A            assertEquals(i, Digit.hexDigit(c));%0A        %7D%0A        for (int i = 0; i %3C 6; i++) %7B%0A            char c = (char) ('A' + i);%0A            assertEquals(i + 10, Digit.hexDigit(c));%0A        %7D%0A    %7D%0A%0A    @Test(expected = NumberFormatException.class)%0A    public void testHexDigitInvalid() throws Exception %7B%0A        Digit.decDigit('g');%0A    %7D%0A%0A    @Test(expected = NumberFormatException.class)%0A    public void testHexDigitInvalidLowercase() throws Exception %7B%0A        Digit.decDigit('a');%0A    %7D%0A%7D%0A

Add digit tests