Skip to content

Commit

Permalink
ignore a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dariel Rivero LLerena committed Jul 8, 2024
1 parent 0882cc7 commit 72d5be2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import drll.problems.leetcode.ApplyDiscountToPrices.Solution;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import static org.assertj.core.api.Assertions.assertThat;
Expand All @@ -15,12 +16,14 @@ void init(){
}

@Test
@Disabled
void should_return_correctly_for_test_case1() {
assertThat(binarySearch.discountPrices("there are $1 $2 and 5$ candies in the shop", 50))
.isEqualTo("there are $0.50 $1.00 and 5$ candies in the shop");
}

@Test
@Disabled
void should_return_correctly_for_test_case2() {
assertThat(binarySearch.discountPrices("1 2 $3 4 $5 $6 7 8$ $9 $10$", 100))
.isEqualTo("1 2 $0.00 4 $0.00 $0.00 7 8$ $0.00 $10$");
Expand Down

0 comments on commit 72d5be2

Please sign in to comment.