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 cb8b0e1 commit 0496b33Copy full SHA for 0496b33
Dynamic-Programming/tests/UniquePaths.test.js
@@ -1,18 +1,18 @@
1
import { uniquePaths } from '../UniquePaths'
2
3
-test('Base Case 1', () => {
+test('Test case with rows=3 and cols=7', () => {
4
const rows = 3
5
const cols = 7
6
expect(uniquePaths(rows, cols)).toBe(28)
7
})
8
9
-test('Base Case 2', () => {
+test('Test case with rows=3 and cols=2', () => {
10
11
const cols = 2
12
expect(uniquePaths(rows, cols)).toBe(3)
13
14
15
-test('Base Case 3', () => {
+test('Test case with rows=8 and cols=14', () => {
16
const rows = 8
17
const cols = 14
18
expect(uniquePaths(rows, cols)).toBe(77520)
0 commit comments