Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0496b33

Browse files
Fix: Names for test cases are changed
1 parent cb8b0e1 commit 0496b33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎Dynamic-Programming/tests/UniquePaths.test.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import { uniquePaths } from '../UniquePaths'
22

3-
test('Base Case 1', () => {
3+
test('Test case with rows=3 and cols=7', () => {
44
const rows = 3
55
const cols = 7
66
expect(uniquePaths(rows, cols)).toBe(28)
77
})
88

9-
test('Base Case 2', () => {
9+
test('Test case with rows=3 and cols=2', () => {
1010
const rows = 3
1111
const cols = 2
1212
expect(uniquePaths(rows, cols)).toBe(3)
1313
})
1414

15-
test('Base Case 3', () => {
15+
test('Test case with rows=8 and cols=14', () => {
1616
const rows = 8
1717
const cols = 14
1818
expect(uniquePaths(rows, cols)).toBe(77520)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /