Skip to content

Commit

Permalink
feat: frog jump
Browse files Browse the repository at this point in the history
  • Loading branch information
rldnrl committed Oct 20, 2023
1 parent 873b522 commit f832245
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/codility/FrogJmpTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package codility;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

class FrogJmpTest {
@Test
void solution() {
Assertions.assertEquals(FrogJmp.solution(10, 85, 30), 3);
Assertions.assertEquals(FrogJmp.solution(10, 70, 30), 2);
}
}

0 comments on commit f832245

Please sign in to comment.