test: add BlockingQueueTypeEnumTest

pull/1115/head
LiXuemin 3 years ago
parent f858e39495
commit 15beebdb18

@ -69,7 +69,16 @@ class BlockingQueueTypeEnumTest {
@Test @Test
void assertCreateBlockingQueueWithType() { void assertCreateBlockingQueueWithType() {
Assert.assertNotNull(BlockingQueueTypeEnum.createBlockingQueue(1, null));
Assert.assertNotNull(BlockingQueueTypeEnum.createBlockingQueue(2, null));
Assert.assertNotNull(BlockingQueueTypeEnum.createBlockingQueue(3, null));
Assert.assertNotNull(BlockingQueueTypeEnum.createBlockingQueue(4, null));
Assert.assertNotNull(BlockingQueueTypeEnum.createBlockingQueue(5, null));
Assert.assertNotNull(BlockingQueueTypeEnum.createBlockingQueue(6, null));
Assert.assertNotNull(BlockingQueueTypeEnum.createBlockingQueue(9, null));
Assert.assertNotNull(BlockingQueueTypeEnum.createBlockingQueue(100, null));
Assert.assertNotNull(BlockingQueueTypeEnum.createBlockingQueue(-1, null));
Assert.assertNotNull(BlockingQueueTypeEnum.createBlockingQueue(0, null));
} }
@Test @Test

Loading…
Cancel
Save