修改测试代码

This commit is contained in:
junj2.liang 2022-09-13 14:53:35 +08:00
parent 3bff06126b
commit 2f144badd5

View File

@ -6,6 +6,8 @@ import org.apache.logging.log4j.Logger;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import java.util.Arrays;
/** /**
* 功能确认 * 功能确认
*/ */
@ -36,14 +38,16 @@ public class FuncTest {
@Test @Test
public void sm3(){ public void sm3(){
SydApiBuilder builder = new SydApiBuilder( SydApiBuilder builder = new SydApiBuilder(
new String[]{ "192.168.0.200" }, new String[]{ "192.168.1.129" },
new int[]{ 8889 }, new int[]{ 8889 },
10, 10,
15 15
); );
api = builder.build(); api = builder.build();
byte[] bytes = api.SYD_SM4_LongData(1, new byte[16], 0, 1);
String s = Arrays.toString(bytes);
System.out.println(s);
} }