Skip to content

Commit e1c8bd1

Browse files
committed
Fix: Made the test cases to come under single Test block
1 parent b721d48 commit e1c8bd1

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed
Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
import { uniquePaths } from '../UniquePaths'
22

3-
describe('UniquePaths', () => {
4-
it('uniquePaths for rows=3 and cols=7', () => {
5-
expect(uniquePaths(3, 7)).toBe(28)
6-
})
7-
8-
it('uniquePaths for rows=3 and cols=2', () => {
9-
expect(climbStairs(3, 2)).toBe(3)
10-
})
11-
12-
it('uniquePaths for rows=8 and cols=14', () => {
13-
expect(climbStairs(8, 14)).toBe(77520)
14-
})
3+
test('Test case for UniquePaths', () => {
4+
expect(uniquePaths(3, 7)).toBe(28)
5+
expect(uniquePaths(3, 2)).toBe(3)
6+
expect(uniquePaths(8, 14)).toBe(77520)
157
})

0 commit comments

Comments
 (0)