isNotNegative
This commit is contained in:
parent
9002959a19
commit
8a136fbffd
@ -13,6 +13,6 @@ public class SecureRandomPositiveLongUnitTest {
|
|||||||
SecureRandom secureRandom = new SecureRandom();
|
SecureRandom secureRandom = new SecureRandom();
|
||||||
long randomPositiveLong = Math.abs(secureRandom.nextLong());
|
long randomPositiveLong = Math.abs(secureRandom.nextLong());
|
||||||
|
|
||||||
assertThat(randomPositiveLong).isPositive();
|
assertThat(randomPositiveLong).isNotNegative();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user