remove BCD

This commit is contained in:
Looly
2022-10-24 19:37:50 +08:00
parent 79e7e51727
commit 106e465014
43 changed files with 53 additions and 271 deletions

View File

@@ -1,18 +0,0 @@
package cn.hutool.core.codec;
import org.junit.Assert;
import org.junit.Test;
public class BCDTest {
@Test
public void bcdTest(){
final String strForTest = "123456ABCDEF";
//转BCD
final byte[] bcd = BCD.strToBcd(strForTest);
final String str = BCD.bcdToStr(bcd);
//解码BCD
Assert.assertEquals(strForTest, str);
}
}

View File

@@ -1,5 +1,6 @@
package cn.hutool.core.codec;
import cn.hutool.core.codec.BaseN.Base32;
import cn.hutool.core.util.RandomUtil;
import cn.hutool.core.text.StrUtil;
import org.junit.Assert;

View File

@@ -1,5 +1,6 @@
package cn.hutool.core.codec;
import cn.hutool.core.codec.BaseN.Base58;
import org.junit.Assert;
import org.junit.Test;

View File

@@ -1,5 +1,6 @@
package cn.hutool.core.codec;
import cn.hutool.core.codec.BaseN.Base62;
import cn.hutool.core.util.RandomUtil;
import org.junit.Assert;
import org.junit.Test;

View File

@@ -1,5 +1,6 @@
package cn.hutool.core.codec;
import cn.hutool.core.codec.BaseN.Base64;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.RandomUtil;
import cn.hutool.core.text.StrUtil;