mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix test
This commit is contained in:
@@ -3,8 +3,11 @@ package cn.hutool.core.math;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import cn.hutool.core.lang.Console;
|
||||
|
||||
/**
|
||||
* 排列单元测试
|
||||
* @author looly
|
||||
@@ -51,4 +54,13 @@ public class ArrangementTest {
|
||||
List<String[]> list2 = arrangement.select(0);
|
||||
Assert.assertTrue(1 == list2.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void selectTest2() {
|
||||
List<String[]> list = MathUtil.arrangementSelect(new String[] { "1", "1", "3", "4" });
|
||||
for (String[] strings : list) {
|
||||
Console.log(strings);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user