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