mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00
fixed some spellings
This commit is contained in:
@ -1,19 +1,19 @@
|
||||
import { longestPalindromeSubsequence } from '../LongestPalindromicSubsequence'
|
||||
|
||||
describe('LongestPalindromicSubsequence', () => {
|
||||
it('expects to return 1 as longest pallindromic subsequence', () => {
|
||||
it('expects to return 1 as longest palindromic subsequence', () => {
|
||||
expect(longestPalindromeSubsequence('abcdefgh')).toBe(1)
|
||||
})
|
||||
|
||||
it('expects to return 4 as longest pallindromic subsequence', () => {
|
||||
it('expects to return 4 as longest palindromic subsequence', () => {
|
||||
expect(longestPalindromeSubsequence('bbbab')).toBe(4)
|
||||
})
|
||||
|
||||
it('expects to return 2 as longest pallindromic subsequence', () => {
|
||||
it('expects to return 2 as longest palindromic subsequence', () => {
|
||||
expect(longestPalindromeSubsequence('cbbd')).toBe(2)
|
||||
})
|
||||
|
||||
it('expects to return 7 as longest pallindromic subsequence', () => {
|
||||
it('expects to return 7 as longest palindromic subsequence', () => {
|
||||
expect(longestPalindromeSubsequence('racexyzcxar')).toBe(7)
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user