Files
Stirling-PDF/scripts/lint/fixtures/AaaTest.java
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
399 B
Java
Raw Normal View History

package fixtures;
class AaaTest {
void clampsToTierMaximum() {
// Arrange
var wallet = walletAt(500);
// Act
var result = clamp(wallet);
// Assert
assertEquals(100, result.cap());
// Assert the cap is clamped rather than rejected, because the tier
// downgrade path relies on it.
assertTrue(result.clamped());
}
}