add a Test

This commit is contained in:
lq 2018-08-25 14:37:07 +08:00
parent bcf4b617bb
commit d9c46396d8

View File

@ -33,7 +33,7 @@ public class AnyBaseToDecimalTest {
Assert.assertEquals("16", anyBaseToDecimal.convertToDecimal("10", 16));
Assert.assertEquals("17", anyBaseToDecimal.convertToDecimal("11", 16));
Assert.assertEquals("100", anyBaseToDecimal.convertToDecimal("64", 16));
Assert.assertEquals("225", anyBaseToDecimal.convertToDecimal("e1", 16));
Assert.assertEquals("225", anyBaseToDecimal.convertToDecimal("E1", 16));
Assert.assertEquals("1024", anyBaseToDecimal.convertToDecimal("400", 16));
}
}