remove obsolete class RadixConverter
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
package org.lucares.pdb.api;
|
||||
|
||||
import org.testng.Assert;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
@Test
|
||||
public class RadixConverterTest {
|
||||
|
||||
public void testConvertRoundtrip() {
|
||||
|
||||
for (int i = 0; i < 1000; i++) {
|
||||
|
||||
final String string = RadixConverter.toString(i);
|
||||
final int actual = RadixConverter.fromString(string);
|
||||
|
||||
Assert.assertEquals(actual, i, "string representation: " + string);
|
||||
}
|
||||
}
|
||||
|
||||
@Test(expectedExceptions = IllegalArgumentException.class)
|
||||
public void testNoNegativeValues() {
|
||||
RadixConverter.toString(-1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user