We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f35ec40 commit eef615dCopy full SHA for eef615d
exercises/tiered_pricing/solutions/oflorez/src/test/java/tv/codely/checkout/TieredPricingShould.java
@@ -15,4 +15,10 @@ void calculate_total_value_for_first_pricing_range() {
15
var subscription = IntStream.rangeClosed(FIRST_RANGE_LOWER_LIMIT, FIRST_RANGE_UPPER_LIMIT).findAny().getAsInt();
16
assertEquals(FIRST_RANGE_UNIT_PRICE * subscription, pricing.calculateTotalPrice(subscription));
17
}
18
+
19
+ @Test
20
+ void calculate_total_value_for_3_subscription() {
21
+ var pricing = new TieredPricing();
22
+ assertEquals(717, pricing.calculateTotalPrice(3));
23
+ }
24
0 commit comments