Thanks to visit codestin.com Credit goes to github.com
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 162e90f commit d59213dCopy full SHA for d59213d
1 file changed
String/test/CheckPascalCase.test.js
@@ -0,0 +1,19 @@
1
+import { CheckPascalCase } from '../CheckPascalCase'
2
+
3
+test('CheckPascalCase(TheAlgorithms) -> true', () => {
4
+ const word = 'TheAlgorithms'
5
+ const res = CheckPascalCase(word)
6
+ expect(res).toBeTruthy()
7
+})
8
9
+test('CheckPascalCase(theAlgorithms) -> false', () => {
10
+ const word = 'theAlgorithms'
11
12
+ expect(res).toBeFalsy()
13
14
15
+test('CheckPascalCase(The Algorithms) -> false', () => {
16
+ const word = 'The Algorithms'
17
18
19
0 commit comments