We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2d1701 commit 1af3161Copy full SHA for 1af3161
pg-index-health-model/src/test/java/io/github/mfvanek/pg/model/validation/ValidatorsTest.java
@@ -52,7 +52,7 @@ void validPercentTest() {
52
.isEqualTo(50.0);
53
54
assertThat(Validators.validPercent(0.0, "remainingPercentageThreshold"))
55
- .isEqualTo(0.0);
+ .isZero();
56
57
assertThat(Validators.validPercent(100.0, "remainingPercentageThreshold"))
58
.isEqualTo(100.0);
@@ -72,7 +72,7 @@ void argumentNotNegative() {
72
.isInstanceOf(IllegalArgumentException.class)
73
.hasMessage("arg cannot be less than zero");
74
assertThat(Validators.argumentNotNegative(0, "arg"))
75
- .isEqualTo(0);
76
assertThat(Validators.argumentNotNegative(11, "arg"))
77
.isEqualTo(11);
78
}
0 commit comments