mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-01-13 01:44:12 +00:00
18
parser/src/test/java/cn/qaiu/util/AcwScV2GeneratorTest.java
Normal file
18
parser/src/test/java/cn/qaiu/util/AcwScV2GeneratorTest.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package cn.qaiu.util;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import static cn.qaiu.util.AcwScV2Generator.acwScV2Simple;
|
||||
|
||||
public class AcwScV2GeneratorTest {
|
||||
|
||||
// 简单测试
|
||||
@Test
|
||||
public void testCookie() {
|
||||
String arg1 = "3E40CCD6747C0E55B0531DB86380DDA1D08CE247";
|
||||
String cookie = acwScV2Simple(arg1);
|
||||
Assert.assertEquals("68d8c25247df18dd66d24165d11084d09bc00db9", cookie);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user