remove unused

This commit is contained in:
@hangga 2024-02-15 20:38:01 +07:00
parent 0c02b0edc2
commit 4bd5580405
2 changed files with 3 additions and 4 deletions

View File

@ -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>

View File

@ -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();
}
}