remove unused
This commit is contained in:
parent
0c02b0edc2
commit
4bd5580405
|
@ -89,7 +89,7 @@
|
|||
<source>${source.version}</source>
|
||||
<target>${target.version}</target>
|
||||
</configuration>
|
||||
</plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><configuration><source>8</source><target>8</target></configuration></plugin>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
|
@ -11,13 +11,12 @@ public class UUIDPositiveLongGeneratorUnitTest {
|
|||
@Test
|
||||
public void whenGetMostSignificantBits_thenAssertPositive() {
|
||||
long randomPositiveLong = Math.abs(UUID.randomUUID().getMostSignificantBits());
|
||||
assertThat(randomPositiveLong).isPositive();
|
||||
assertThat(randomPositiveLong).isNotNegative();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void whenGetLeastSignificantBits_thenAssertPositive() {
|
||||
long randomPositiveLong = Math.abs(UUID.randomUUID().getLeastSignificantBits());
|
||||
assertThat(randomPositiveLong).isPositive();
|
||||
assertThat(randomPositiveLong).isNotNegative();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue