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 b89a82f commit 541072eCopy full SHA for 541072e
lis/test.js
@@ -8,7 +8,13 @@ describe('Longest Increasing Subsequence Tests', () => {
8
test('lis function is defined', () => {
9
expect(typeof lis).toEqual('function');
10
});
11
- it('Calculate correct lis value for [5,7,4,-3,9,1,10,4,5,8,9,3] === 6', () => {
+ test('Calculate correct lis value for [5,7,4,-3,9,1,10,4,5,8,9,3] === 6', () => {
12
expect(lis([5,7,4,-3,9,1,10,4,5,8,9,3])).toEqual(6);
13
14
+ test('Calculate correct lis value for [1,10,-3,4,15,2,3,5,11,12,13] === 7', () => {
15
+ expect(lis([1,10,-3,4,15,2,3,5,11,12,13])).toEqual(7);
16
+ });
17
+ test('Calculate correct lis value for [4,5,6,2,1,0,-5,3,10,20,19,11] === 5', () => {
18
+ expect(lis([4,5,6,2,1,0,-5,3,10,20,19,11])).toEqual(5);
19
20
0 commit comments