forked from plusone/plusone-commons
去除 Lombok。
parent
79a729bd75
commit
de835797e3
|
@ -3,17 +3,19 @@ package xyz.zhouxy.plusone.commons;
|
|||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import xyz.zhouxy.plusone.commons.util.Enumeration;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.Collection;
|
||||
|
||||
@Slf4j
|
||||
class EnumerationTests {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(EnumerationTests.class);
|
||||
|
||||
@Test
|
||||
void testEnumeration() {
|
||||
assertTrue(EntityStatus.AVAILABLE == EntityStatus.of(0));
|
||||
|
|
|
@ -3,11 +3,13 @@ package xyz.zhouxy.plusone.commons.util;
|
|||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@Slf4j
|
||||
class NumberUtilTest {
|
||||
private static final Logger log = LoggerFactory.getLogger(NumberUtilTest.class);
|
||||
|
||||
@Test
|
||||
void testSum() {
|
||||
long result = 0;
|
||||
|
|
Loading…
Reference in New Issue